B-34
INSTRUCTION FORMATS AND ENCODINGS
Table B-20. Encoding of the SIMD-Integer Register Field
Instruction and Format
Encoding
BWDQDQ
PAVGB/PAVGW - Packed
Average
YYn/an/an/a
mmreg to mmreg
00001111:11100000:11 mmreg1 mmreg2
00001111:11100011:11 mmreg1 mmreg2
mem to mmreg
00001111:11100000 mod mmreg r/m
00001111:11100011 mod mmreg r/m
PEXTRW - Extract Word
n/aYn/an/an/a
mmreg to reg32, imm800001111:11000101:11 mmreg r32: imm8
PINSRW - Insert Word
n/aYn/an/an/a
reg32 to mmreg, imm800001111:11000100:11 r32 mmreg1: imm8
m16 to mmreg, imm800001111:11000100 mod mmreg r/m: imm8
PMAXSW - Packed
Signed Integer Word
Maximum
n/aYn/an/an/a
mmreg to mmreg
00001111:11101110:11 mmreg1 mmreg2
mem to mmreg
00001111:11101110 mod mmreg r/m
PMAXUB - Packed
Unsigned Integer Byte
Maximum
Yn/an/an/an/a
mmreg to mmreg
00001111:11011110:11 mmreg1 mmreg2
mem to mmreg
00001111:11011110 mod mmreg r/m
PMINSW - Packed
Signed Integer Word
Minimum
n/aYn/an/an/a
mmreg to mmreg
00001111:11101010:11 mmreg1 mmreg2
mem to mmreg
00001111:11101010 mod mmreg r/m
PMINUB - Packed
Unsigned Integer Byte
Minimum
Yn/an/an/an/a
mmreg to mmreg
00001111:11011010:11 mmreg1 mmreg2
mem to mmreg
00001111:11011010 mod mmreg r/m
PMOVMSKB - Move Byte
Mask To Integer
On/an/aIn/a
mmreg to reg32
00001111:11010111:11 mmreg1 r32