03.03.2013 Views

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PMINSB/PMINSW/PMINSD — Minimum of Packed Signed Integers<br />

Opcode/<br />

<strong>Instruction</strong><br />

Description<br />

Op/<br />

En<br />

64/32<br />

-bit<br />

Mode<br />

CPUID<br />

Feature<br />

Flag<br />

Description<br />

<strong>Instruction</strong> Operand Encoding<br />

INSTRUCTION SET REFERENCE<br />

66 0F 38 38 /r A V/V SSE4_1 Compare packed signed byte integers in xmm1 and xmm2/m128<br />

and store packed minimum values in xmm1.<br />

PMINSB xmm1, xmm2/m128<br />

66 0F EA /r A V/V SSE2 Compare packed signed word integers in xmm2/m128 and xmm1<br />

and store packed minimum values in xmm1.<br />

PMINSW xmm1, xmm2/m128<br />

66 0F 38 39 /r A V/V SSE4_1 Compare packed signed dword integers in xmm1 and xmm2/m128<br />

and store packed minimum values in xmm1.<br />

PMINSD xmm1, xmm2/m128<br />

VEX.NDS.128.66.0F38.WIG 38 /r B V/V AVX Compare packed signed byte integers in xmm2 and xmm3/m128<br />

and store packed minimum values in xmm1.<br />

VPMINSB xmm1, xmm2,<br />

xmm3/m128<br />

VEX.NDS.128.66.0F.WIG EA /r B V/V AVX Compare packed signed word integers in xmm3/m128 and xmm2<br />

and return packed minimum values in xmm1.<br />

VPMINSW xmm1, xmm2,<br />

xmm3/m128<br />

VEX.NDS.128.66.0F38.WIG 39 /r B V/V AVX Compare packed signed dword integers in xmm2 and xmm3/m128<br />

and store packed minimum values in xmm1.<br />

VPMINSD xmm1, xmm2,<br />

xmm3/m128<br />

VEX.NDS.256.66.0F38.WIG 38 /r B V/V AVX2 Compare packed signed byte integers in ymm2 and ymm3/m256<br />

and store packed minimum values in ymm1.<br />

VPMINSB ymm1, ymm2,<br />

ymm3/m256<br />

VEX.NDS.256.66.0F.WIG EA /r B V/V AVX2 Compare packed signed word integers in ymm3/m256 and ymm2<br />

and return packed minimum values in ymm1.<br />

VPMINSW ymm1, ymm2,<br />

ymm3/m256<br />

VEX.NDS.256.66.0F38.WIG 39 /r B V/V AVX2 Compare packed signed dword integers in ymm2 and ymm3/m128<br />

and store packed minimum values in ymm1.<br />

VPMINSD ymm1, ymm2,<br />

ymm3/m256<br />

Op/En Operand 1 Operand 2 Operand 3 Operand 4<br />

A ModRM:reg (r, w) ModRM:r/m (r) NA NA<br />

B ModRM:reg (w) VEX.vvvv ModRM:r/m (r) NA<br />

Performs a SIMD compare of the packed signed byte, word, or dword integers in the second source operand and<br />

the first source operand and returns the minimum value for each pair of integers to the destination operand.<br />

128-bit Legacy SSE version: The first source and destination operands are XMM registers. The second source<br />

operand is an XMM register or a 128-bit memory location. Bits (255:128) of the corresponding YMM destination<br />

register remain unchanged.<br />

VEX.128 encoded version: The first source and destination operands are XMM registers. The second source<br />

operand is an XMM register or a 128-bit memory location. Bits (255:128) of the corresponding YMM register are<br />

zeroed.<br />

Ref. # 319433-014 5-79

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

Saved successfully!

Ooh no, something went wrong!