[Issue 6829] Unsigned rotate standard function in Phobos

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 9 12:06:59 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6829



--- Comment #3 from hsteoh at quickfur.ath.cx 2013-07-09 12:06:57 PDT ---
Hmph. That doesn't work. Compiling without -O just makes DMD translate it
literally into shl/shr followed by or. Compiling with -O computes the values
via CTFE, so I changed the code by making a and shift parameters, but DMD still
uses shl/shr followed by or, instead of replacing it with rol/ror, as claimed.

So basically, the pattern either isn't there, or isn't working properly.

-- 
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