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

           Summary: Incorrect opcode prefix generated for x86_64 inline
                    assembly
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: hugh...@gmail.com


--- Comment #0 from Shahid <hugh...@gmail.com> 2011-03-05 10:48:34 PST ---
/*
   Disassembly of section .text._D1a1aFZv:

   0000000000000000 <_D1a1aFZv>:
   0:   48 83 f8 01             cmp    $0x1,%rax
   4:   48 83 f8 01             cmp    $0x1,%rax
*/
void a() { asm {
                naked;
                cmp RAX, 1;
                cmp R8 , 1; // should have REX.b set ( 49 83 f8 01 )
} }

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

Reply via email to