AMD ENC_VOP3PX3
amd_gpu_isa)AMD RDNA1/2/3/3.5/4 & CDNA1/2/3/4 GPUs
2026-official
Summary
Official AMD 128-bit instruction encoding format ENC_VOP3PX3 across CDNA5.
Syntax / Encoding
ENC_VOP3PX3 (128b) mask=0x000000000000000000000000ffff0000 match=0x000000000000000000000000cc3b0000
Binary Encodings (1)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 128 | ENC_VOP3PX3 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1100110000111011xxxxxxxxxxxxxxxx | 0x000000000000000000000000ffff0000 / 0x000000000000000000000000cc3b0000 |
Bitfields (20)
| Bits | Field | Description |
|---|---|---|
127:125 | NEG | If NEG[N] set, take the floating-point negation of the N'th input LOW OPERATION. See OPF_NONEG for a list of instructions that do not support negation. |
124:123,78,14 | OPSEL_HI | OPSEL_HI[N] determines if lower [15:0] or upper [31:16] bits are selected for the N'th source for the HIGH OPERATION. 0 selects the lower order bits and 1 selec |
122:114 | SRC2 | Third source operand for instruction. |
113:105 | SRC1 | Second source operand for instruction. |
104:96 | SRC0 | First source operand for instruction. |
95:88 | ENCODING | Encoding. |
87:80 | OP | Opcode. |
79 | CLAMP | If set, clamp or signal on output. VCMP instructions enable signaling-compare. For floating point outputs, clamp to [0.0, 1.0]. For signed integer outputs, clam |
77:75 | OPSEL | OPSEL[N] determines if lower [15:0] or upper [31:16] bits are selected for the N'th source for the LOW OPERATION. 0 selects the lower order bits and 1 selects t |
74:72 | NEG_HI | If NEG_HI[N] set, take the floating-point negation of the N'th input HIGH OPERATION. See OPF_NONEG for a list of instructions that do not support negation. |
71:64 | VDST | Destination operand for instruction. |
63:61 | SCALE_NEG | If NEG[N] set, take the floating-point negation of the N'th input LOW OPERATION. See OPF_NONEG for a list of instructions that do not support negation. |
60:59 | SCALE_OPSEL_HI | OPSEL_HI[N] determines if lower [15:0] or upper [31:16] bits are selected for the N'th source for the HIGH OPERATION. 0 selects the lower order bits and 1 selec |
58:50 | SCALE_SRC2 | Third source operand for instruction. |
49:41 | SCALE_SRC1 | Second source operand for instruction. |
40:32 | SCALE_SRC0 | First source operand for instruction. |
31:16 | X3ENCODING | Encoding. |
15 | SCALE_CLAMP | If set, clamp or signal on output. VCMP instructions enable signaling-compare. For floating point outputs, clamp to [0.0, 1.0]. For signed integer outputs, clam |
13:11 | SCALE_OPSEL | OPSEL[N] determines if lower [15:0] or upper [31:16] bits are selected for the N'th source for the LOW OPERATION. 0 selects the lower order bits and 1 selects t |
10:8 | SCALE_NEG_HI | If NEG_HI[N] set, take the floating-point negation of the N'th input HIGH OPERATION. See OPF_NONEG for a list of instructions that do not support negation. |