Thread overview
[Issue 2258] New: Docs -> Inline Assembler -> Operand Types -> qword missing
Jul 31, 2008
d-bugmail
Aug 04, 2008
d-bugmail
Aug 12, 2008
d-bugmail
Aug 14, 2008
d-bugmail
July 31, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2258

           Summary: Docs -> Inline Assembler -> Operand Types -> qword
                    missing
           Product: D
           Version: unspecified
          Platform: All
               URL: http://www.digitalmars.com/d/1.0/iasm.html
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: www.digitalmars.com
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: o.dathe@gmx.de


On http://www.digitalmars.com/d/1.0/iasm.html in section Operand Types "qword ptr" is missing.


-- 

August 04, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2258


o.dathe@gmx.de changed:

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




------- Comment #1 from o.dathe@gmx.de  2008-08-04 14:13 -------
(In reply to comment #0)
> On http://www.digitalmars.com/d/1.0/iasm.html in section Operand Types "qword ptr" is missing.
> 

I've just seen it seems to be a stub since there is no x86_64 support yet and it behaves like "byte ptr".

  long x=255;
  asm { inc qword ptr x; }
  assert (x==0); // passes


-- 

August 12, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2258


clugdbug@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
           Keywords|                            |accepts-invalid
         Resolution|LATER                       |




------- Comment #2 from clugdbug@yahoo.com.au  2008-08-12 03:31 -------
(In reply to comment #1)
> I've just seen it seems to be a stub since there is no x86_64 support yet and it behaves like "byte ptr".

Nonsense. It's been used in floating point code since the dawn of time.

double x;
asm {
  fld qword ptr x;
}

But I'm marking this as an accepts-invalid, since your sample code should not compile.


-- 

August 14, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2258


bugzilla@digitalmars.com changed:

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




------- Comment #3 from bugzilla@digitalmars.com  2008-08-14 03:02 -------
Fixed dmd 1.034 and 2.018


--