09.01.2013 Views

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>AMD</strong><strong>64</strong> Technology 26568—Rev. 3.05—September 2003<br />

MINSD Minimum Scalar Double-Precision Floating-<br />

Point<br />

Compares the double-precision floating-point value in the low-order <strong>64</strong> bits of the first<br />

source operand with the double-precision floating-point value in the low-order <strong>64</strong> bits<br />

of the second source operand and writes the numerically lesser of the two values in<br />

the low-order <strong>64</strong> bits of the destination (first source). The first source/destination<br />

operand is an XMM register. The second source operand is another XMM register or a<br />

<strong>64</strong>-bit memory location. The high-order quadword of the destination XMM register is<br />

not modified.<br />

Mnemonic Opcode Description<br />

MINSD xmm1, xmm2/mem<strong>64</strong> F2 0F 5D /r Compares scalar double-precision floating-point values in an XMM<br />

register and another XMM register or <strong>64</strong>-bit memory location and<br />

writes the lesser of the two values in the destination XMM register.<br />

If both source operands are equal to zero, the value in the second source operand is<br />

returned. If either operand is a NaN (SNaN or QNaN), and invalid-operation<br />

exceptions are masked, the second source operand is written to the destination.<br />

Related Instructions<br />

MAXPD, MAXPS, MAXSD, MAXSS, MINPD, MINPS, MINSS<br />

rFLAGS Affected<br />

None<br />

xmm1 xmm2/mem<strong>64</strong><br />

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

63 0<br />

minimum<br />

136 MINSD<br />

minsd.eps

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

Saved successfully!

Ooh no, something went wrong!