AVX
avx-type-7 exception class
VEX-encoded instructions without a memory operand or floating-point exceptions, such as VMOVMSKPS, VPSRLDQ and the shifts by an immediate count, which Intel's manual calls Exceptions Type 7.
- Class
avx-type-7in Intel XED- Applies to
- VEX encodings that use registers only, such as
VPSRLW ymm, ymm, imm8. - Instructions
- 15 mnemonics, 44 forms
- Data
- Intel XED v2026.08.23
Exception conditions
| Exception | Real | Virtual-8086 | Protected | 64-bit | Condition |
|---|---|---|---|---|---|
#UD | yes | yes | no | no | Always: real and virtual-8086 mode have no VEX prefix. |
#UD | no | no | yes | yes | The operating system has not enabled the AVX state: CR4.OSXSAVE is 0, or XCR0 bits 1 and 2 (SSE and AVX state) are not both 1. |
#UD | yes | yes | yes | yes | The instruction has a LOCK prefix (F0). |
#UD | no | no | yes | yes | A REX, F2, F3 or 66 prefix comes before the VEX prefix. |
#UD | yes | yes | yes | yes | The processor lacks the instruction’s extension: its CPUID feature flag is 0. |
#NM | no | no | yes | yes | CR0.TS (task switched, bit 3) is 1. |
Notes
Without a memory operand, only #UD and #NM remain.
VMOVLHPS and VMOVHLPS exist only as 128-bit forms and raise #UD for
VEX.L = 1; the 256-bit forms of the integer instructions need AVX2
(Table 2-17). The forms of the shifts that take their count from a
register or from memory are
avx-type-4.
Related classes
Instructions
Intel XED puts forms of 15 mnemonics in this class, listed here by extension. Where a mnemonic also has forms of other classes, its link leads to its first form of this one.
AVX
- VMOVHLPS
- VMOVLHPS
- VMOVMSKPD
- VMOVMSKPS
- VPMOVMSKB
- VPSLLD
- VPSLLDQ
- VPSLLQ
- VPSLLW
- VPSRAD
- VPSRAW
- VPSRLD
- VPSRLDQ
- VPSRLQ
- VPSRLW
AVX2
Sources
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Section 2.5.7, Table 2-24; Section 2.5, Tables 2-14, 2-15 and 2-17.
- Intel XED v2026.08.23 (commit
0bcb6237345c): the exception class of each instruction form.
The list of instructions is derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted it. The text is our own.