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

Create successful ePaper yourself

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

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

MAXSS Maximum Scalar Single-Precision Floating-<br />

Point<br />

Compares the single-precision floating-point value in the low-order 32 bits of the first<br />

source operand with the single-precision floating-point value in the low-order 32 bits<br />

of the second source operand and writes the numerically greater of the two values in<br />

the low-order 32 bits of the destination (first source). The first source/destination<br />

operand is an XMM register. The second source operand is another XMM register or a<br />

32-bit memory location. The three high-order doublewords of the destination XMM<br />

register are not modified.<br />

Mnemonic Opcode Description<br />

MAXSS xmm1, xmm2/mem32 F3 0F 5F /r Compares scalar single-precision floating-point values in an XMM<br />

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

writes the greater of the two values in the destination XMM register.<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 />

MAXPD, MAXPS, MAXSD, MINPD, MINPS, MINSD, MINSS, PFMAX<br />

rFLAGS Affected<br />

None<br />

xmm1 xmm2/mem32<br />

127 32 31 0 127 32<br />

31 0<br />

maximum<br />

maxss.eps<br />

MAXSS 129

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

Saved successfully!

Ooh no, something went wrong!