Intel ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3 Manual page 1823

Hide thumbs Also See for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3:
Table of Contents

Advertisement

MAXSS: Scalar Single-FP Maximum
Opcode
F3,0F,5F,/r
Operation:
xmm1[31-0]
xmm1[63-32]
xmm1[95-64]
xmm1[127-96] = xmm1[127-96];
The MAXSS instruction returns the maximum SP FP number from the lower SP FP
Description:
numbers of XMM1 and XMM2/Mem; the upper 3 fields are passed through from xmm1.
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).
None
FP Exceptions:
Invalid (including qNaN source operand), Denormal.
Numeric Exceptions:
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; #AC for unaligned memory
reference. To enable #AC exceptions, three conditions must be true(CR0.AM is set;
EFLAGS.AC is set; current CPL is 3); #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.
Real Address Mode Exceptions:
Interrupt 13 if any part of the operand would lie outside of the effective address space
from 0 to 0FFFFH; #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.
Virtual 8086 Mode Exceptions:
Same exceptions as in Real Address Mode; #AC for unaligned memory reference if the
current privilege level is 3; #PF (fault-code) for a page fault.
Volume 4: IA-32 SSE Instruction Reference
Instruction
MAXSS xmm1, xmm2/m32
= (xmm1[31-0] == NAN) ? xmm2[31-0] :
(xmm2[31-0] == NAN) ? xmm2[31-0] :
(xmm1[31-0] > xmm2/m32[31-0]) ? xmm1[31-0] : xmm2/m32[31-0];
= xmm1[63-32];
= xmm1[95-64];
Description
Return the maximum SP FP number between the lower SP
FP numbers from XMM2/Mem and XMM1.
4:521

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents