www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 709] New: inline assembler: "CVTPD2PI mm, xmm/m128" fails to compile

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: thomas-dloop 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


-- 
Dec 21 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=709


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla digitalmars.com  2007-11-03 21:43 -------
Fixed dmd 1.023 and 2.007


-- 
Nov 03 2007