Bug 708 – inline assembler: "CVTPS2PI mm, xmm/m128" fails to compile

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-12-21T09:24:00Z
Last change time
2014-02-15T13:19:22Z
Assigned to
bugzilla
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-12-21T09:24:10Z
Both "CVTPS2PI MM0, XMM0;" and "CVTPS2PI MM0, [EAX];" fail to compile with the message: "bad type/size of operands 'cvtps2pi'" IA-32 Intel® Architecture Software Developer’s Manual Volume 2A: Instruction Set Reference, A-M Vol. 2A 3-205 Opcode: 0F 2D /r Instruction: CVTPS2PI mm, xmm/m128 Description: Convert two packed single-precision floating-point values from xmm/m64 to two packed signed doubleword integers in mm. test cases: http://dstress.kuehne.cn/run/a/asm_cvtps2pi_01_A.d http://dstress.kuehne.cn/run/a/asm_cvtps2pi_01_B.d
Comment #1 by bugzilla — 2007-11-03T21:43:00Z
Fixed dmd 1.023 and 2.007