[Issue 708] New: inline assembler: "CVTPS2PI mm, xmm/m128" fails to compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 21 07:24:10 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=708

           Summary: inline assembler: "CVTPS2PI mm, xmm/m128" fails to
                    compile
           Product: D
           Version: 0.177
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


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


-- 



More information about the Digitalmars-d-bugs mailing list