Capricorn Shura (Excaliber is his sword which is made out of pure energy, and yes he has had vast amounts of training with it)
Regarding Capricorn Shura, Shura can beat D; technically he is a swordsman (stated to be a master), but his attack is more a kick or arm swipe sharpened into a blade with his cosmo and it cuts through pretty much anything as well, even effecting intangible ghost like beings. Since all Gold Saints have the seventh sense they can move much faster than the speed of light and exert enough power to destroy a star at the very least. Gemini Saga's signature attack might be able to even destroy a galaxy. The saints have a lot of crazy feats.
Then, there are the ones who mastered the eighth sense who can rebuild their bodies back from absolutely nothing and resurrect. The speeds of the saints are insane, with some of them crossing galactic distances in an instant and others keeping up with them just fine. I would put put them under the Flash but above Post-Crisis Superman in terms of speed.
Ebony Hyperion, from Episode G, probably would count since his soma is in the shape of a giant broad sword. The Titans are above Gold Saints but they are not at their strongest because of the seals put on them by Zeus. Ebony can only use his sword when restricted by just one seal, so I'll assume he's at that stage.
At that level he can create a small universe with his Dunamis (basically Cosmo, but of a higher quality) and the Dunamis is something all Titans have which lets them warp reality and manipulate energy and matter down to the atomic level. Ebony uses his powers in conjunction with the sword, and has cut through the attacks of Gold Saints and even the attacks of Pontus, a primordial god who's older and more powerful than he is.
There is also Ryuho from S-Cry-Ed, in the third stage of his Alter's evolution. He is ridiculously fast, going in and out of the earth's atmosphere in seconds, has enough raw power to decimate countries and his crystal sword can cut through reality and into another dimension. He can also fly and survive in the empty vacuum of space.
EDIT: Ryuho might be able to beat D in a fight because of his superior movement speed and his powerful energy blade attacks. He could probably spam D with those attacks. If D really has those high-end hypersonic reactions to possibly relativistic reactions (if the laser claims are true), that combined with hand's ability to absorb massive amounts of energy (nukes, super particle beams) he might be able to absorb the energy attacks. Ryuho still has the advantage in raw power and endurance, being able to tank country sized explosions and dish out damage on someone of equal durability (Kazuma) with physical blows and cutting attacks. So, there's that as well.