[Issue 5728] "rol" in core.bitop
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Aug  9 18:08:32 PDT 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=5728
--- Comment #6 from bearophile_hugs at eml.cc 2011-08-09 18:08:29 PDT ---
(In reply to comment #5)
> The mistake is this is not a correct rotate function. (x >> shift) is a signed
> right shift. Rewrite as (x >>> shift).
Thank you, I'm wrong all the time. Now it shows the ror:
_D4test10__T3rotTiZ3rotFNaNbxixiZi
    push EAX
    mov  EAX,8[ESP]
    mov  ECX,[ESP]
    ror  EAX,CL
    pop  ECX
    ret  4
-- 
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