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


Iain Buclaw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #6 from Iain Buclaw <[email protected]> 2013-07-10 02:38:38 PDT ---
(In reply to comment #5)
> I think this should be a recognizable rotate left function:
> 
>     private static uint rol(in uint x, in uint y) pure nothrow {
>         return (x << y) | (x >> (32 - y));
>     }

It is (in gdc with -O :)

_D3rol3rolFNaNbxkxkZk:
        mov x, %eax
        mov y, %ecx
        rol %cl, %eax
        ret

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to