AMDGPU / GFX Instructions GPU Native ISA AMD
2,442 instructions - showing 100 per page, page 21 of 25 - AMDGPU/GFX is AMD's native, low-level
GPU instruction set family, assembled directly with no virtual intermediate layer. Supported
instructions and their exact encodings vary by GFX compatibility target (e.g.
gfx942, gfx1100). Scalar instructions execute once per wavefront on
the Scalar ALU; vector instructions execute per-lane on the Vector ALU, gated by the EXEC mask.
| Mnemonic | Syntax | Format | GFX Targets | Unit | Summary |
|---|---|---|---|---|---|
| v_max_u16 | v_max_u16 | VOP2 | gfx1100 | Select the maximum of two unsigned 16-bit integer inputs and store the selected value into a vector register. | |
| v_max_u32 | v_max_u32 | VOP2 | gfx1100 | Select the maximum of two unsigned 32-bit integer inputs and store the selected value into a vector register. | |
| v_max_u64 | v_max_u64 | VOP3 | Select the maximum of two unsigned 64-bit integer inputs and store the selected value into a vector register. | ||
| v_maximum3_f16 | v_maximum3_f16 | VOP3 | gfx1100 | Select the IEEE maximum() of three half-precision float inputs and store the selected value into a vector register. | |
| v_maximum3_f32 | v_maximum3_f32 | VOP3 | gfx1100 | Select the IEEE maximum() of three single-precision float inputs and store the result into a vector register. | |
| v_maximum_f16 | v_maximum_f16 | VOP3 | gfx1100 | Select the IEEE maximum() of two half-precision float inputs and store the selected value into a vector register. | |
| v_maximum_f32 | v_maximum_f32 | VOP3 | gfx1100 | Select the IEEE maximum() of two single-precision float inputs and store the selected value into a vector register. | |
| v_maximum_f64 | v_maximum_f64 | VOP3 | gfx1100 | Select the IEEE maximum() of two double-precision float inputs and store the selected value into a vector register. | |
| v_maximumminimum_f16 | v_maximumminimum_f16 | VOP3 | gfx1100 | Select the IEEE maximum() of the first two half-precision float inputs and then select the IEEE minimum() of that result and third half-precision float input. Store the final result into a vector register. | |
| v_maximumminimum_f32 | v_maximumminimum_f32 | VOP3 | gfx1100 | Select the IEEE maximum() of the first two single-precision float inputs and then select the IEEE minimum() of that result and third single-precision float input. Store the final result into a vector register. | |
| v_maxmin_f16 | v_maxmin_f16 | VOP3 | gfx1100 | Select the maximum of the first two half-precision float inputs and then select the minimum of that result and third half-precision float input. Store the final result into a vector register. | |
| v_maxmin_f32 | v_maxmin_f32 | VOP3 | gfx1100 | Select the maximum of the first two single-precision float inputs and then select the minimum of that result and third single-precision float input. Store the final result into a vector register. | |
| v_maxmin_i32 | v_maxmin_i32 | VOP3 | gfx1100 | Select the maximum of the first two signed 32-bit integer inputs and then select the minimum of that result and third signed 32-bit integer input. Store the final result into a vector register. | |
| v_maxmin_num_f16 | v_maxmin_num_f16 | VOP3 | Select the IEEE maximumNumber() of the first two half-precision float inputs and then select the IEEE minimumNumber() of that result and third half-precision float input. Store the final result into a vector register. | ||
| v_maxmin_num_f32 | v_maxmin_num_f32 | VOP3 | Select the IEEE maximumNumber() of the first two single-precision float inputs and then select the IEEE minimumNumber() of that result and third single-precision float input. Store the final result into a vector register. | ||
| v_maxmin_u32 | v_maxmin_u32 | VOP3 | gfx1100 | Select the maximum of the first two unsigned 32-bit integer inputs and then select the minimum of that result and third unsigned 32-bit integer input. Store the final result into a vector register. | |
| v_mbcnt_hi_u32_b32 | v_mbcnt_hi_u32_b32 | VOP2 | gfx1100 | For each lane 32 <= N < 64, examine the N least significant bits of the first input and count how many of those bits are "1". For lane positions 0 <= N < 32 no bits are examined and the count is zero. Add this count to the value in the second input and store the result into a vector register. | |
| v_mbcnt_lo_u32_b32 | v_mbcnt_lo_u32_b32 | VOP2 | gfx1100 | For each lane 0 <= N < 32, examine the N least significant bits of the first input and count how many of those bits are "1". For each lane 32 <= N < 64, all "1" bits in the first input are counted. Add this count to the value in the second input and store the result into a vector register. | |
| v_med3_f16 | v_med3_f16 | VOP3 | gfx1100 | Select the median of three half-precision float values and store the selected value into a vector register. | |
| v_med3_f32 | v_med3_f32 | VOP3 | gfx1100 | Select the median of three single-precision float values and store the selected value into a vector register. | |
| v_med3_i16 | v_med3_i16 | VOP3 | gfx1100 | Select the median of three signed 16-bit integer values and store the selected value into a vector register. | |
| v_med3_i32 | v_med3_i32 | VOP3 | gfx1100 | Select the median of three signed 32-bit integer values and store the selected value into a vector register. | |
| v_med3_num_f16 | v_med3_num_f16 | VOP3 | Select the median of three half-precision float inputs and store the selected value into a vector register. | ||
| v_med3_num_f32 | v_med3_num_f32 | VOP3 | Select the median of three single-precision float inputs and store the selected value into a vector register. | ||
| v_med3_u16 | v_med3_u16 | VOP3 | gfx1100 | Select the median of three unsigned 16-bit integer values and store the selected value into a vector register. | |
| v_med3_u32 | v_med3_u32 | VOP3 | gfx1100 | Select the median of three unsigned 32-bit integer values and store the selected value into a vector register. | |
| v_mfma_f32_16x16x128_f8f6f4 | v_mfma_f32_16x16x128_f8f6f4 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x16_bf16 | v_mfma_f32_16x16x16_bf16 | VOP3P | gfx942 | Multiply the 16x16 matrix in the first input by the 16x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f32_16x16x16_f16 | v_mfma_f32_16x16x16_f16 | VOP3P | Multiply the 16x16 matrix in the first input by the 16x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x16bf16_1k | v_mfma_f32_16x16x16bf16_1k | VOP3P | Multiply the 16x16 matrix in the first input by the 16x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x16f16 | v_mfma_f32_16x16x16f16 D, A, B, C | VOP3P-MAI | gfx942 | Matrix Core Unit | Matrix-fused-multiply-add: cooperative 16x16x16 matrix-multiply-accumulate on matrix-core hardware, fp16 inputs, fp32 accumulate. |
| v_mfma_f32_16x16x1_4b_f32 | v_mfma_f32_16x16x1_4b_f32 | VOP3P | Multiply the 16x1 matrix in the first input by the 1x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x1f32 | v_mfma_f32_16x16x1f32 | VOP3P | Multiply the 16x1 matrix in the first input by the 1x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x2bf16 | v_mfma_f32_16x16x2bf16 | VOP3P | Multiply the 16x2 matrix in the first input by the 2x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x32_bf16 | v_mfma_f32_16x16x32_bf16 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x32_bf8_bf8 | v_mfma_f32_16x16x32_bf8_bf8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x32_bf8_fp8 | v_mfma_f32_16x16x32_bf8_fp8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x32_f16 | v_mfma_f32_16x16x32_f16 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x32_fp8_bf8 | v_mfma_f32_16x16x32_fp8_bf8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x32_fp8_fp8 | v_mfma_f32_16x16x32_fp8_fp8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x4_4b_bf16 | v_mfma_f32_16x16x4_4b_bf16 | VOP3P | gfx942 | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f32_16x16x4_4b_f16 | v_mfma_f32_16x16x4_4b_f16 | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x4_f32 | v_mfma_f32_16x16x4_f32 | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x4bf16_1k | v_mfma_f32_16x16x4bf16_1k | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x4f16 | v_mfma_f32_16x16x4f16 | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x4f32 | v_mfma_f32_16x16x4f32 | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_16x16x8_xf32 | v_mfma_f32_16x16x8_xf32 | VOP3P | gfx942 | Multiply the 16x8 matrix in the first input by the 8x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f32_16x16x8bf16 | v_mfma_f32_16x16x8bf16 | VOP3P | Multiply the 16x8 matrix in the first input by the 8x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x16_bf16 | v_mfma_f32_32x32x16_bf16 | VOP3P | Multiply the 32x16 matrix in the first input by the 16x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x16_bf8_bf8 | v_mfma_f32_32x32x16_bf8_bf8 | VOP3P | Multiply the 32x16 matrix in the first input by the 16x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x16_bf8_fp8 | v_mfma_f32_32x32x16_bf8_fp8 | VOP3P | Multiply the 32x16 matrix in the first input by the 16x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x16_f16 | v_mfma_f32_32x32x16_f16 | VOP3P | Multiply the 32x16 matrix in the first input by the 16x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x16_fp8_bf8 | v_mfma_f32_32x32x16_fp8_bf8 | VOP3P | Multiply the 32x16 matrix in the first input by the 16x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x16_fp8_fp8 | v_mfma_f32_32x32x16_fp8_fp8 | VOP3P | Multiply the 32x16 matrix in the first input by the 16x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x1_2b_f32 | v_mfma_f32_32x32x1_2b_f32 | VOP3P | Multiply the 32x1 matrix in the first input by the 1x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x1f32 | v_mfma_f32_32x32x1f32 | VOP3P | Multiply the 32x1 matrix in the first input by the 1x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x2_f32 | v_mfma_f32_32x32x2_f32 | VOP3P | Multiply the 32x2 matrix in the first input by the 2x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x2bf16 | v_mfma_f32_32x32x2bf16 | VOP3P | Multiply the 32x2 matrix in the first input by the 2x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x2f32 | v_mfma_f32_32x32x2f32 | VOP3P | Multiply the 32x2 matrix in the first input by the 2x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x4_2b_bf16 | v_mfma_f32_32x32x4_2b_bf16 | VOP3P | gfx942 | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f32_32x32x4_2b_f16 | v_mfma_f32_32x32x4_2b_f16 | VOP3P | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x4_xf32 | v_mfma_f32_32x32x4_xf32 | VOP3P | gfx942 | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f32_32x32x4bf16 | v_mfma_f32_32x32x4bf16 | VOP3P | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x4bf16_1k | v_mfma_f32_32x32x4bf16_1k | VOP3P | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x4f16 | v_mfma_f32_32x32x4f16 | VOP3P | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x64_f8f6f4 | v_mfma_f32_32x32x64_f8f6f4 | VOP3P | Multiply the 32x64 matrix in the first input by the 64x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x8_bf16 | v_mfma_f32_32x32x8_bf16 | VOP3P | gfx942 | Multiply the 32x8 matrix in the first input by the 8x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f32_32x32x8_f16 | v_mfma_f32_32x32x8_f16 | VOP3P | Multiply the 32x8 matrix in the first input by the 8x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x8bf16_1k | v_mfma_f32_32x32x8bf16_1k | VOP3P | Multiply the 32x8 matrix in the first input by the 8x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_32x32x8f16 | v_mfma_f32_32x32x8f16 | VOP3P | Multiply the 32x8 matrix in the first input by the 8x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_4x4x1_16b_f32 | v_mfma_f32_4x4x1_16b_f32 | VOP3P | Multiply the 4x1 matrix in the first input by the 1x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_4x4x1f32 | v_mfma_f32_4x4x1f32 | VOP3P | Multiply the 4x1 matrix in the first input by the 1x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_4x4x2bf16 | v_mfma_f32_4x4x2bf16 | VOP3P | Multiply the 4x2 matrix in the first input by the 2x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_4x4x4_16b_bf16 | v_mfma_f32_4x4x4_16b_bf16 | VOP3P | gfx942 | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f32_4x4x4_16b_f16 | v_mfma_f32_4x4x4_16b_f16 | VOP3P | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_4x4x4bf16_1k | v_mfma_f32_4x4x4bf16_1k | VOP3P | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f32_4x4x4f16 | v_mfma_f32_4x4x4f16 | VOP3P | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f64_16x16x4_f64 | v_mfma_f64_16x16x4_f64 | VOP3P | gfx942 | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f64_16x16x4f64 | v_mfma_f64_16x16x4f64 | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_f64_4x4x4_4b_f64 | v_mfma_f64_4x4x4_4b_f64 | VOP3P | gfx942 | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_f64_4x4x4f64 | v_mfma_f64_4x4x4f64 | VOP3P | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_16x16x16i8 | v_mfma_i32_16x16x16i8 | VOP3P | Multiply the 16x16 matrix in the first input by the 16x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_16x16x32_i8 | v_mfma_i32_16x16x32_i8 | VOP3P | gfx942 | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_i32_16x16x4_4b_i8 | v_mfma_i32_16x16x4_4b_i8 | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_16x16x4i8 | v_mfma_i32_16x16x4i8 | VOP3P | Multiply the 16x4 matrix in the first input by the 4x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_16x16x64_i8 | v_mfma_i32_16x16x64_i8 | VOP3P | Multiply the 16x64 matrix in the first input by the 64x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_32x32x16_i8 | v_mfma_i32_32x32x16_i8 | VOP3P | gfx942 | Multiply the 32x16 matrix in the first input by the 16x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | |
| v_mfma_i32_32x32x32_i8 | v_mfma_i32_32x32x32_i8 | VOP3P | Multiply the 32x32 matrix in the first input by the 32x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_32x32x4_2b_i8 | v_mfma_i32_32x32x4_2b_i8 | VOP3P | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_32x32x4i8 | v_mfma_i32_32x32x4i8 | VOP3P | Multiply the 32x4 matrix in the first input by the 4x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_32x32x8i8 | v_mfma_i32_32x32x8i8 | VOP3P | Multiply the 32x8 matrix in the first input by the 8x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_4x4x4_16b_i8 | v_mfma_i32_4x4x4_16b_i8 | VOP3P | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_i32_4x4x4i8 | v_mfma_i32_4x4x4i8 | VOP3P | Multiply the 4x4 matrix in the first input by the 4x4 matrix in the second input and add the 4x4 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_ld_scale_b32 | v_mfma_ld_scale_b32 | VOP3P | AMDGPU VOP3P matrix instruction operating on b32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_mfma_scale_f32_16x16x128_f8f6f4 | v_mfma_scale_f32_16x16x128_f8f6f4 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and add the 16x16 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_mfma_scale_f32_32x32x64_f8f6f4 | v_mfma_scale_f32_32x32x64_f8f6f4 | VOP3P | Multiply the 32x64 matrix in the first input by the 64x32 matrix in the second input and add the 32x32 matrix in the third input using fused multiply add. Store the resulting matrix into vector registers. | ||
| v_min3_f16 | v_min3_f16 | VOP3 | gfx1100 | Select the minimum of three half-precision float inputs and store the selected value into a vector register. | |
| v_min3_f32 | v_min3_f32 | VOP3 | gfx1100 | Select the minimum of three single-precision float inputs and store the selected value into a vector register. | |
| v_min3_i16 | v_min3_i16 | VOP3 | gfx1100 | Select the minimum of three signed 16-bit integer inputs and store the selected value into a vector register. | |
| v_min3_i32 | v_min3_i32 | VOP3 | gfx1100 | Select the minimum of three signed 32-bit integer inputs and store the selected value into a vector register. |
Source
Instruction names, formats and GFX targets come from LLVM's AMDGPU backend. Operands, bit layouts and the instructions that backend's TableGen does not reach come from AMD's machine-readable ISA specification; descriptions and semantics from AMD's own manuals and that specification; examples from LLVM's assembler tests. Each instruction page cites the sources it uses; AMD's ROCm documentation hub is the architecture-level reference. AMD machine-readable ISA specification ↗ · AMD Instinct MI300 ISA manual ↗ · LLVM AMDGPU backend ↗ · ROCm documentation ↗