![Intel ITANIUM ARCHITECTURE Manual Download Page 530](http://html.mh-extra.com/html/intel/itanium-architecture/itanium-architecture_manual_2073403530.webp)
Volume 4: IA-32 SSE Instruction Reference
4:523
MINPS: Packed Single-FP Minimum
Operation:
xmm1[31-0]
= (xmm1[31-0] == NAN) ? xmm2[31-0] :
(xmm2[31-0] == NAN) ? xmm2[31-0] :
(xmm1[31-0] < xmm2/m128[31-0]) : xmm1[31-0] ?
xmm2/m128[31-0];
xmm1[63-32]
= (xmm1[63-32] == NAN) ? xmm2[63-32] :
(xmm2[63-32] == NAN) ? xmm2[63-32] :
(xmm1[63-32] < xmm2/m128[63-32]) : xmm1[63-32] ?
xmm2/m128[63-32];
xmm1[95-64]
= (xmm1[95-64] == NAN) ? xmm2[95-64] :
(xmm2[95-64] == NAN) ? xmm2[95-64] :
(xmm1[95-64] < xmm2/m128[95-64]) : xmm1[95-64] ?
xmm2/m128[95-64];
xmm1[127-96]
= (xmm1[127-96] == NAN) ? xmm2[127-96] :
(xmm2[127-96] == NAN) ? xmm2[127-96] :
(xmm1[127-96] < xmm2/m128[127-96]) : xmm1[127-96] ?
xmm2/m128[127-96];
Description:
The MINPS instruction returns the minimum SP FP numbers from XMM1 and
XMM2/Mem. If the values being compared are both zeros, source2 (xmm2/m128)
would be returned. If source2 (xmm2/m128) is an sNaN, this sNaN is forwarded
unchanged to the destination (i.e. a quieted version of the sNaN is not returned).
FP Exceptions:
General protection exception if not aligned on 16-byte boundary, regardless of
segment.
Numeric Exceptions:
Invalid (including qNaN source operand), Denormal.
Protected Mode Exceptions:
#GP(0) for an illegal memory operand effective address in the CS, DS, ES, FS or GS
segments; #SS(0) for an illegal address in the SS segment; #PF(fault-code) for a page
fault; #UD if CR0.EM = 1; #NM if TS bit in CR0 is set. #XM for an unmasked SSE
numeric exception (CR4.OSXMMEXCPT =1); #UD for an unmasked SSE numeric
exception (CR4.OSXMMEXCPT =0); #UD if CRCR4.OSFXSR(bit 9) = 0; #UD if
CPUID.XMM(EDX bit 25) = 0.
Opcode
Instruction
Description
0F,5D,/r
MINPS xmm1, xmm2/m128
Return the minimum SP numbers between XMM2/Mem and
XMM1.
Summary of Contents for ITANIUM ARCHITECTURE
Page 1: ......
Page 7: ...402 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 199: ...4 192 Volume 4 Base IA 32 Instruction Reference FWAIT Wait See entry for WAIT ...
Page 352: ...Volume 4 Base IA 32 Instruction Reference 4 345 ROL ROR Rotate See entry for RCL RCR ROL ROR ...
Page 589: ...4 582 Volume 4 IA 32 SSE Instruction Reference ...
Page 590: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index ...
Page 591: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 603: ...INDEX Index 12 Index for Volumes 1 2 3 and 4 ...
Page 604: ......