Specifications
Intel
®
64 and IA-32 Architectures Software Developer’s Manual Documentation Changes 126
Documentation Changes
PCMPGTQ — Compare Packed Data for Greater Than
Instruction Operand Encoding
...
PEXTRB/PEXTRD/PEXTRQ — Extract Byte/Dword/Qword
Instruction Operand Encoding
Description
Copies a data element (byte, dword, quadword) in the source operand (second operand)
specified by the count operand (third operand) to the destination operand (first
operand). The source operand is an XMM register. The destination operand can be a
general-purpose register or a memory address. The count operand is an 8-bit imme-
diate. When specifying a quadword [dword, byte] element, the [2, 4] least-significant
bit(s) of the count operand specify the location.
Opcode Instruction Op/
En
64-Bit
Mode
Compat/
Leg Mode
Description
66 0F 38 37 /r PCMPGTQ
xmm1,xmm2/m12
8
A Valid Valid Compare packed qwords in
xmm2/m128 and xmm1 for
greater than.
Op/En Operand 1 Operand 2 Operand 3 Operand 4
A ModRM:reg (r, w) ModRM:r/m (r) NA NA
Opcode Instruction Op/
En
64-Bit
Mode
Compat/
Leg Mode
Description
66 0F 3A 14
/r ib
PEXTRB reg/m8,
xmm2, imm8
A Valid Valid Extract a byte integer value
from xmm2 at the source
byte offset specified by
imm8 into rreg or m8. The
upper bits of r32 or r64 are
zeroed.
66 0F 3A 16
/r ib
PEXTRD r/m32,
xmm2, imm8
A Valid Valid Extract a dword integer
value from xmm2 at the
source dword offset
specified by imm8 into
r/m32.
66 REX.W 0F
3A 16
/r ib
PEXTRQ r/m64,
xmm2, imm8
A Valid N. E. Extract a qword integer
value from xmm2 at the
source qword offset
specified by imm8 into
r/m64.
Op/En Operand 1 Operand 2 Operand 3 Operand 4
A ModRM:r/m (w) ModRM:reg (r) imm8 NA