2258 – Docs -> Inline Assembler -> Operand Types -> qword missing

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2258 - Docs -> Inline Assembler -> Operand Types -> qword missing
Summary: Docs -> Inline Assembler -> Operand Types -> qword missing
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All Linux
: P3 trivial
Assignee: Walter Bright
URL: http://www.digitalmars.com/d/1.0/iasm...
Keywords: accepts-invalid
Depends on:
Blocks:
Reported: 2008年07月31日 14:15 UTC by Oliver Dathe
Modified: 2015年06月09日 05:14 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Oliver Dathe 2008年07月31日 14:15:04 UTC
On http://www.digitalmars.com/d/1.0/iasm.html in section Operand Types "qword ptr" is missing.
Comment 1 Oliver Dathe 2008年08月04日 14:13:04 UTC
(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
Comment 2 Don 2008年08月12日 03:31:55 UTC
(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.
Comment 3 Walter Bright 2008年08月14日 03:02:43 UTC
Fixed dmd 1.034 and 2.018


AltStyle によって変換されたページ (->オリジナル) /