25.02.2015 Views

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AMD</strong> <strong>64</strong>-<strong>Bit</strong> <strong>Technology</strong> 26568—Rev. 3.02—August 2002<br />

UCOMISS<br />

Unordered Compare Scalar<br />

Single-Precision Floating-Point<br />

Performs an unordered compare of the single-precision floating-point value in the loworder<br />

32 bits of an XMM register with the single-precision floating-point value in the<br />

low-order 32 bits of another XMM register or a 32-bit memory location and sets the ZF,<br />

PF, and CF bits in the rFLAGS register to reflect the result. The result is unordered if<br />

one or both of the operand values is a NaN. The OF, AF, and SF bits in rFLAGS are set<br />

to zero.<br />

If the instruction causes an unmasked SIMD floating-point exception (#XF), the<br />

rFLAGS bits are not updated.<br />

Mnemonic Opcode Description<br />

UCOMISS xmm1, xmm2/mem32 0F 2E /r Compares scalar single-precision floating-point values in an XMM<br />

register and an XMM register or 32-bit memory location. Sets<br />

rFLAGS.<br />

xmm1<br />

xmm2/mem32<br />

127 31 0 127 31<br />

0<br />

compare<br />

63<br />

0<br />

31<br />

rFLAGS<br />

0<br />

ucomiss.eps<br />

Result of Compare ZF PF CF<br />

Unordered 1 1 1<br />

Greater Than 0 0 0<br />

Less Than 0 0 1<br />

Equal 1 0 0<br />

384 UCOMISS

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

Saved successfully!

Ooh no, something went wrong!