25.02.2015 Views

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AMD</strong> <strong>64</strong>-<strong>Bit</strong> <strong>Technology</strong> 26568—Rev. 3.02—August 2002<br />

CVTPS2PD<br />

Convert Packed Single-Precision Floating-Point<br />

to Packed Double-Precision Floating-Point<br />

Converts two packed single-precision floating-point values in the low-order <strong>64</strong> bits of<br />

an XMM register or a <strong>64</strong>-bit memory location to two packed double-precision floatingpoint<br />

values and writes the converted values in another XMM register.<br />

Mnemonic Opcode Description<br />

CVTPS2PD xmm1, xmm2/mem<strong>64</strong> 0F 5A /r Converts packed single-precision floating-point values in an XMM<br />

register or <strong>64</strong>-bit memory location to packed double-precision<br />

floating-point values in the destination XMM register.<br />

xmm1<br />

xmm/mem<strong>64</strong><br />

127 <strong>64</strong> 63 0<br />

127 <strong>64</strong> 63 32 31<br />

0<br />

convert<br />

convert<br />

cvtps2pd.eps<br />

Related Instructions<br />

CVTPD2PS, CVTSD2SS, CVTSS2SD<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

FZ RC PM UM OM ZM DM IM DAZ PE UE OE ZE DE IE<br />

M<br />

M<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Note:<br />

A flag that can be set to one or zero is M (modified). Unaffected flags are blank.<br />

62 CVTPS2PD

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!