APX
APX-EVEX-PP2 exception class
APX-EVEX-PP2 is the APX specification's exception class for PUSH2 and POP2, which push or pop two 64-bit registers at once, and for their forms with the balanced push-pop hint.
- Class
APX-EVEX-PP2in Intel XED- Applies to
- PUSH2, POP2 and the hinted PUSH2P and POP2P (APX), in EVEX map 4.
- Instructions
- 4 mnemonics, 4 forms
- Data
- Intel XED v2026.08.23
Exception conditions
| Exception | Real | Virtual-8086 | Protected | 64-bit | Condition |
|---|---|---|---|---|---|
#UD | yes | yes | no | no | Always: the EVEX prefix raises #UD in real-address and virtual-8086 mode. |
#UD | no | no | yes | no | Always: EVEX map 4, where these instructions are, exists only in 64-bit mode. |
#UD | no | no | no | yes | XCR0 bit 19 (APX) or CR4.OSXSAVE is 0: the operating system has not enabled APX. |
#UD | no | no | no | yes | A bit of the last EVEX payload byte other than ND and V4 is 1, or EVEX.ND is 0: ND must be 1, as EVEX.vvvv names the second register. |
#UD | no | no | no | yes | ModRM.mod is not 11B or EVEX.U is 0: both operands must be registers. |
#UD | no | no | no | yes | Either register is RSP, or a POP2 names the same register twice. |
#UD | no | no | no | yes | A LOCK, 66H, F2H, F3H or REX prefix comes before the EVEX prefix. |
#UD | no | no | no | yes | CPUID reports no APX_F. |
#SS(0) | no | no | no | yes | The stack address, in the SS segment, is not canonical. |
#GP(0) | no | no | no | yes | The memory address is not canonical. |
#GP(0) | no | no | no | yes | RSP is not 16-byte aligned, so the two 8-byte slots would not form one aligned 16-byte block. |
#PF(fault-code) | no | no | no | yes | The stack access causes a page fault. |
Notes
PUSH2 and POP2 need RSP aligned to 16 bytes. PUSH2P and POP2P set EVEX.W to mark a push and its matching pop for the processor’s push-pop acceleration (PPX); the hint changes neither the result nor the exceptions.
Related classes
Instructions
Intel XED puts forms of 4 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.
APX
Sources
- Intel Advanced Performance Extensions (Intel APX) Architecture Specification, revision 7.0 (July 2025): Section 4.2.17, Table 4.18; Sections 3.1.3.1.1 and 3.1.3.1.2.
- 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.