December 21, 2006 [Issue 702] New: inline assembler: "SMSW r32" fails to compile | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=702 Summary: inline assembler: "SMSW r32" fails to compile Product: D Version: 0.177 Platform: PC OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: thomas-dloop@kuehne.cn The following code fails to compile with the message "bad type/size of operands 'smsw'": asm{ SMSW EAX; } SMSW r32 is valid i386 assembler: IA-32 Intel® Architecture Software Developer’s Manual Volume 2B: Instruction Set Reference, N-Z 4-274 Vol. 2B Opcode: 0F 01 /4 Instruction: SMSW r32/m16 Description: Store machine status word in low-order 16 bits of r32/m16; high-order 16 bits of r32 are undefined. testcase: http://dstress.kuehne.cn/run/a/asm_smsw_02_A.d -- |
January 04, 2007 [Issue 702] inline assembler: "SMSW r32" fails to compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=702 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2007-01-03 22:05 ------- Fixed DMD 1.00 -- |
Copyright © 1999-2021 by the D Language Foundation