MMX
mmx-nofp exception class
CVTPI2PD, which converts two integers from an MMX register or memory to double precision without floating-point exceptions, as Intel's manual lists it among the legacy SIMD/MMX instructions with XMM and without FP exception.
- Class
mmx-nofpin Intel XED- Applies to
- The legacy forms of CVTPI2PD.
- Instructions
- 1 mnemonic, 2 forms
- Data
- Intel XED v2026.08.23
Exception conditions
| Exception | Real | Virtual-8086 | Protected | 64-bit | Condition |
|---|---|---|---|---|---|
#UD | yes | yes | yes | yes | CR0.EM is 1, or CR4.OSFXSR is 0: the operating system has not enabled SSE. |
#UD | yes | yes | yes | yes | The instruction has a LOCK prefix (F0). |
#UD | yes | yes | yes | yes | The processor lacks the instruction’s extension: its CPUID feature flag is 0. |
#MF | yes | yes | yes | yes | CVTPI2PD xmm, mm only: an unmasked x87 floating-point exception from an earlier x87 instruction is still pending. |
#NM | yes | yes | yes | yes | CR0.TS (task switched, bit 3) is 1. |
#SS(0) | no | no | yes | no | A memory operand addressed through SS lies outside the stack segment. |
#SS(0) | no | no | no | yes | A memory operand addressed through SS has a non-canonical address. |
#GP(0) | no | no | yes | no | A memory operand in the CS, DS, ES, FS or GS segment has an effective address that the segment does not allow, such as one beyond its limit. |
#GP(0) | no | no | no | yes | A memory operand has a non-canonical address. |
#GP(0) | yes | yes | no | no | A memory operand extends past offset FFFFh of its segment. |
#PF(fault-code) | no | yes | yes | yes | Accessing a memory operand causes a page fault. |
#AC(0) | no | yes | yes | yes | Code at privilege level 3 accesses a misaligned memory operand while alignment checking is on. |
Notes
Every 32-bit integer has an exact double-precision value, so the
conversion raises no SIMD floating-point exceptions. As an SSE2
instruction it needs CR4.OSFXSR, and as one that reads an MMX
register it checks for pending x87 exceptions, which the form with a
memory source does not.
Related classes
Instructions
Intel XED puts forms of 1 mnemonic in this class, listed here by extension. Where a mnemonic also has forms of other classes, its link leads to its first form of this one.
SSE2
Sources
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 3 (325384-093, September 2026): Section 25.25.3, Table 25-6.
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Section 2.5, the note on instructions that operate on MMX registers.
- Intel XED v2026.08.23 (commit
0bcb6237345c): the exception class of each instruction form.
The list of instructions is derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted it. The text is our own.