[Issue 6829] Unsigned rotate standard function in Phobos
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jul 14 08:38:52 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6829
--- Comment #37 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-07-14 08:38:50 PDT ---
(In reply to comment #36)
> (In reply to comment #35)
> > Interestingly, translating the code into C and compiling with gcc 4.8.1 does
> > produce the rotate instructions. But compiling the D version with gdc 4.8
> > doesn't. I've no idea why.
>
> You can look at output of -fdump-tree-gimple and compare gcc to gdc generated
> code.
>
> But there should be no difference. :)
gdc 4.9.0 20130707 - produces rol/ror instructions.
gdc 4.9.0 20130616 - produces rol/ror instructions.
gdc 4.9.0 20130505 - produces shl/shr instructions.
Related commits between 10/05 - 14/05.
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=198770
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=198823
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=198864
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list