[Issue 7351] New: Possible asm bug: bad type/size of operands 'xadd'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 22 21:27:27 PST 2012


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

           Summary: Possible asm bug: bad type/size of operands 'xadd'
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: siegelords_abode at yahoo.com


--- Comment #0 from siegelords_abode at yahoo.com 2012-01-22 21:27:26 PST ---
When compiled with dmd 2.057 on 64 bit Linux OS the following code gives an
error:

void main()
{
    asm
    {
        xadd qword ptr [RAX],RDX;
    }
}

test.d(5): bad type/size of operands 'xadd'

LDC2 compiles that code fine on the same system. I don't know enough assembly
to tell who is wrong.

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