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

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


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

           Summary: inline assembler: "CVTPD2PI 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 "CVTPD2PI MM0, XMM0;" and "CVTPD2PI, MM0 [EAX];" fail to
compile with the message:
"bad type/size of operands 'cvtpd2pi'"

IA-32 Intel® Architecture Software Developer’s
Manual Volume 2A: Instruction Set Reference, A-M

Vol. 2A 3-187

Opcode:
66 0F 2D /r

Instruction:
CVTPD2PI mm, xmm/m128

Description:
Convert two packed doubleprecision floating-point values from
xmm/m128 to two packed signed doubleword integers in mm.

test cases:
http://dstress.kuehne.cn/run/a/asm_cvtpd2pi_01_A.d
http://dstress.kuehne.cn/run/a/asm_cvtpd2pi_01_B.d


-- 



More information about the Digitalmars-d-bugs mailing list