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.

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

MINPS Minimum Packed Single-Precision Floating-<br />

Point<br />

The MINPS instruction compares each of the four packed single-precision floatingpoint<br />

values in the first source operand with the corresponding packed singleprecision<br />

floating-point value in the second source operand and writes the<br />

numerically lesser of the two values for each comparison in the corresponding<br />

doubleword of the destination (first source). The first source/destination operand is an<br />

XMM register. The second source operand is another XMM register or a <strong>128</strong>-bit<br />

memory location.<br />

Mnemonic Opcode Description<br />

MINPS xmm1, xmm2/mem<strong>128</strong> 0F 5D /r Compares four pairs of packed single-precision values in an XMM<br />

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

writes the numerically lesser value of each comparison in the<br />

destination XMM register.<br />

minimum<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 />

minimum<br />

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

127 96 95 <strong>64</strong> 63 32<br />

31<br />

0<br />

minimum<br />

minimum<br />

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

0<br />

MAXPD, MAXPS, MAXSD, MAXSS, MINPD, MINSD, MINSS, PFMIN<br />

minps.eps<br />

MINPS 133

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

Saved successfully!

Ooh no, something went wrong!