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

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

Advertisement

UCOMISS: Unordered Scalar Single-FP Compare and Set EFLAGS
Opcode
0F,2E,/r
Operation:
switch (xmm1[31-0] <> xmm2/m32[31-0]) {
OF,SF,AF = 000;
case UNORDERED:
case GREATER_THAN:
case LESS_THAN:
case EQUAL:
}
The UCOMISS instructions compare the two lowest scalar SP FP numbers and sets the
Description:
ZF,PF,CF bits in the EFLAGS register as described above. In addition, the OF, SF and AF
bits in the EFLAGS register are zeroed out. The unordered predicate is returned if either
source operand is a NaN (qNaN or sNaN).
None.
FP Exceptions:
Invalid (if SNaN operands), Denormal. Integer EFLAGS values will not be updated
Numeric Exceptions:
in the presence of unmasked 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.
4:556
Instruction
UCOMISS xmm1, xmm2/m32
ZF,PF,CF = 111;
ZF,PF,CF = 000;
ZF,PF,CF = 001;
ZF,PF,CF = 100;
Description
Compare lower SP FP number in XMM1 register with lower
SP FP number in XMM2/Mem and set the status flags
accordingly.
Volume 4: IA-32 SSE Instruction Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents