www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7351] New: Possible asm bug: bad type/size of operands 'xadd'

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: siegelords_abode yahoo.com



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: -------
Jan 22 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7351




Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/116fbd90a28ea6203fb1965f7dfebf2f08ed0afb
fix Issue 7351 - Possible asm bug: bad type/size of operands 'xadd'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 24 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7351




Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/116fbd90a28ea6203fb1965f7dfebf2f08ed0afb
fix Issue 7351 - Possible asm bug: bad type/size of operands 'xadd'


Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/067f67a7efa04c21ddbb49eb919a97fd481f4469
fix Issue 7351 - Possible asm bug: bad type/size of operands 'xadd'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 24 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7351


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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