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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VEX.m-mmmm<br />

Table 4-3. VEX.m-mmmm Interpretation<br />

Implied Leading Opcode Bytes<br />

00000B Reserved<br />

00001B 0F<br />

00010B 0F 38<br />

00011B 0F 3A<br />

00100-11111B Reserved<br />

(2-byte VEX) 0F<br />

VEX.m-mmmm is only available on the 3-byte VEX. The 2-byte VEX implies a leading 0Fh opcode byte.<br />

4.1.5.2 2-byte VEX byte 1, bit[2], and 3-byte VEX byte 2, bit [2]- “L”<br />

INSTRUCTION FORMAT<br />

The vector length field, VEX.L, is encoded in bit[2] of either the second byte of 2-byte VEX, or the third byte of 3byte<br />

VEX. If “VEX.L = 1”, it indicates 256-bit vector operation. “VEX.L = 0” indicates scalar and 128-bit vector operations.<br />

The instruction VZEROUPPER is a special case that is encoded with VEX.L = 0, although its operation zero’s bits<br />

255:128 of all YMM registers accessible in the current operating mode.<br />

See the following table.<br />

Table 4-4. VEX.L Interpretation<br />

VEX.L Vector Length<br />

0 128-bit (or 32/64-bit scalar)<br />

1 256-bit<br />

4.1.5.3 2-byte VEX byte 1, bits[1:0], and 3-byte VEX byte 2, bits [1:0]- “pp”<br />

Up to one implied prefix is encoded by bits[1:0] of either the 2-byte VEX byte 1 or the 3-byte VEX byte 2. The prefix<br />

behaves as if it was encoded prior to VEX, but after all other encoded prefixes.<br />

See the following table.<br />

pp<br />

Table 4-5. VEX.pp Interpretation<br />

Implies this prefix after other prefixes but before VEX<br />

00B None<br />

01B 66<br />

10B F3<br />

11B F2<br />

4.1.6 The Opcode Byte<br />

One (and only one) opcode byte follows the 2 or 3 byte VEX. Legal opcodes are specified in Appendix B, in color.<br />

Any instruction that uses illegal opcode will #UD.<br />

4.1.7 The MODRM, SIB, and Displacement Bytes<br />

The encodings are unchanged but the interpretation of reg_field or rm_field differs (see above).<br />

Ref. # 319433-014 4-7

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

Saved successfully!

Ooh no, something went wrong!