[Issue 5706] New: Incorrect opcode prefix generated for x86_64 inline assembly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 5 10:51:30 PST 2011


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: nobody at puremagic.com
        ReportedBy: hughes4 at gmail.com


--- Comment #0 from Shahid <hughes4 at 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: -------


More information about the Digitalmars-d-bugs mailing list