digitalmars.D.bugs - [Issue 702] New: inline assembler: "SMSW r32" fails to compile
- d-bugmail puremagic.com (30/30) Dec 21 2006 http://d.puremagic.com/issues/show_bug.cgi?id=702
- d-bugmail puremagic.com (9/9) Jan 03 2007 http://d.puremagic.com/issues/show_bug.cgi?id=702
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 --
Dec 21 2006
http://d.puremagic.com/issues/show_bug.cgi?id=702 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD 1.00 --
Jan 03 2007