B-27
INSTRUCTION FORMATS AND ENCODINGS
B.4.3.Formats and Encodings
The following three tables show the formats and encodings for Streaming SIMD Extensions for
the data types supported—packed byte (B), packed word (W), packed doubleword (D), quad-
word (Q), and double quadword (DQ). Table B-19, Table B-20, and Table B-21 correspond re-
spectively to SIMD floating-point, SIMD-Integer, and Cacheability Register Fields. Figure B-3
describes the nomenclature used in columns (3 through 7) of the table.
Code
Meaning
Y
Supported
N
Not supported
O
Output
I
Input
n/a
Not Applicable
Figure B-3. Key to Codes for Streaming SIMD Extensions Data Type Cross-
Reference
Table B-19. Encoding of the SIMD Floating-Point Register Field
Instruction and Format
Encoding
BWDQDQ
ADDPS - Packed Single-
FP Add
n/an/an/an/aY
xmmreg to xmmreg
00001111:01011000:11 xmmreg1 xmmreg2
mem to xmmreg
00001111:01011000: mod xmmreg r/m
ADDSS - Scalar Single-
FP Add
n/an/aYn/an/a
xmmreg to xmmreg
11110011:00001111:01011000:11 xmmreg1
xmmreg2
mem to xmmreg
11110011:00001111:01011000: mod xmmreg r/m
ANDNPS - Bit-wise
Logical And Not for
Single-FP
n/an/an/an/aY
xmmreg to xmmreg
00001111:01010101:11 xmmreg1 xmmreg2
mem to xmmreg
00001111:01010101: mod xmmreg r/m
ANDPS - Bit-wise Logical
And for Single-FP
n/an/an/an/aY
xmmreg to xmmreg
00001111:01010100:11 xmmreg1 xmmreg2
mem to xmmreg
00001111:01010100: mod xmmreg r/m
CMPPS - Packed Single-
FP Compare
n/an/an/an/aY
xmmreg to xmmreg, imm800001111:11000010:11 xmmreg1 xmmreg2: imm8
mem to xmmreg, imm800001111:11000010: mod xmmreg r/m: imm8