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 />

PMINSW Packed Minimum Signed Words<br />

Compares each of the packed 16-bit signed integer values in the first source operand<br />

with the corresponding packed 16-bit signed integer value in the second source<br />

operand and writes the numerically lesser of the two values for each comparison in<br />

the corresponding word of the destination (first source). The first source/destination<br />

and second source operands are an XMM register and an XMM register or <strong>128</strong>-bit<br />

memory location.<br />

Mnemonic Opcode Description<br />

PMINSW xmm1, xmm2/mem<strong>128</strong> 66 0F EA /r Compares packed signed 16-bit integer values in an XMM register<br />

and another XMM register or <strong>128</strong>-bit memory location and writes<br />

the lesser value of each compare in the destination XMM register.<br />

Related Instructions<br />

PMAXSW, PMAXUB, PMINUB<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

None<br />

minimum<br />

xmm1 xmm2/mem<strong>128</strong><br />

. . . . . .<br />

127 112 111 96 95 80 79 <strong>64</strong> 63 48 47 32<br />

31 16 15 0<br />

. . . . . .<br />

minimum<br />

127 112 111 96 95 80 79 <strong>64</strong> 63 48 47 32 31 16 15 0<br />

. . . . . .<br />

pminsw-<strong>128</strong>.eps<br />

PMINSW 259

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

Saved successfully!

Ooh no, something went wrong!