www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5963] New: iasm does not accept 64bit integer literal

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5963

           Summary: iasm does not accept 64bit integer literal
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: hughes4 gmail.com



So far the only x86_64 opcode I know of that takes a 64bit immediate operand
( rel64 or imm64 ) is "mov".

Test case:

void a() { asm {
    mov RAX, 0x0123_4567__89AB_CDEF;
} }

===
a.d(2): 1 operands found for mov instead of the expected 2

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 08 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5963


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



14:09:51 PDT ---
https://github.com/D-Programming-Language/dmd/commit/e4a4b33b279861c39e4c4f9bc90ef6686875d43b

https://github.com/D-Programming-Language/dmd/commit/ef2b5aa76ec49fca6d6f8a4cd3ad2f6488c1344a

https://github.com/D-Programming-Language/dmd/commit/af4204485c0ba4edd18807717bbc56e15447542f

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