AMDGPU / GFX Instructions GPU Native ISA AMD
2,442 instructions - showing 100 per page, page 24 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_smfmac_f32_32x32x32_bf16 | v_smfmac_f32_32x32x32_bf16 | VOP3P | Multiply the 32x32 sparse matrix in the first input by the 32x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x32_bf8_bf8 | v_smfmac_f32_32x32x32_bf8_bf8 | VOP3P | Multiply the 32x32 sparse matrix in the first input by the 32x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x32_bf8_fp8 | v_smfmac_f32_32x32x32_bf8_fp8 | VOP3P | Multiply the 32x32 sparse matrix in the first input by the 32x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x32_f16 | v_smfmac_f32_32x32x32_f16 | VOP3P | Multiply the 32x32 sparse matrix in the first input by the 32x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x32_fp8_bf8 | v_smfmac_f32_32x32x32_fp8_bf8 | VOP3P | Multiply the 32x32 sparse matrix in the first input by the 32x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x32_fp8_fp8 | v_smfmac_f32_32x32x32_fp8_fp8 | VOP3P | Multiply the 32x32 sparse matrix in the first input by the 32x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x32bf16 | v_smfmac_f32_32x32x32bf16 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x32bf8bf8 | v_smfmac_f32_32x32x32bf8bf8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x32bf8fp8 | v_smfmac_f32_32x32x32bf8fp8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x32f16 | v_smfmac_f32_32x32x32f16 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x32fp8bf8 | v_smfmac_f32_32x32x32fp8bf8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x32fp8fp8 | v_smfmac_f32_32x32x32fp8fp8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x64_bf8_bf8 | v_smfmac_f32_32x32x64_bf8_bf8 | VOP3P | Multiply the 32x64 sparse matrix in the first input by the 64x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x64_bf8_fp8 | v_smfmac_f32_32x32x64_bf8_fp8 | VOP3P | Multiply the 32x64 sparse matrix in the first input by the 64x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x64_fp8_bf8 | v_smfmac_f32_32x32x64_fp8_bf8 | VOP3P | Multiply the 32x64 sparse matrix in the first input by the 64x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x64_fp8_fp8 | v_smfmac_f32_32x32x64_fp8_fp8 | VOP3P | Multiply the 32x64 sparse matrix in the first input by the 64x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_f32_32x32x64bf8bf8 | v_smfmac_f32_32x32x64bf8bf8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x64bf8fp8 | v_smfmac_f32_32x32x64bf8fp8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x64fp8bf8 | v_smfmac_f32_32x32x64fp8bf8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_f32_32x32x64fp8fp8 | v_smfmac_f32_32x32x64fp8fp8 | VOP3P | AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_i32_16x16x128_i8 | v_smfmac_i32_16x16x128_i8 | VOP3P | Multiply the 16x128 sparse matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_i32_16x16x128i8 | v_smfmac_i32_16x16x128i8 | VOP3P | AMDGPU VOP3P matrix instruction operating on i32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_i32_16x16x64_i8 | v_smfmac_i32_16x16x64_i8 | VOP3P | Multiply the 16x64 sparse matrix in the first input by the 64x16 matrix in the second input and accumulate the result into the 16x16 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_i32_16x16x64i8 | v_smfmac_i32_16x16x64i8 | VOP3P | AMDGPU VOP3P matrix instruction operating on i32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_i32_32x32x32_i8 | v_smfmac_i32_32x32x32_i8 | VOP3P | Multiply the 32x32 sparse matrix in the first input by the 32x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_i32_32x32x32i8 | v_smfmac_i32_32x32x32i8 | VOP3P | AMDGPU VOP3P matrix instruction operating on i32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_smfmac_i32_32x32x64_i8 | v_smfmac_i32_32x32x64_i8 | VOP3P | Multiply the 32x64 sparse matrix in the first input by the 64x32 matrix in the second input and accumulate the result into the 32x32 matrix stored in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_smfmac_i32_32x32x64i8 | v_smfmac_i32_32x32x64i8 | VOP3P | AMDGPU VOP3P matrix instruction operating on i32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_sqrt_bf16 | v_sqrt_bf16 | VOP1 | Calculate the square root of the BF16 float input using IEEE rules and store the result into a vector register. | ||
| v_sqrt_f16 | v_sqrt_f16 | VOP1 | Calculate the square root of the half-precision float input using IEEE rules and store the result into a vector register. | ||
| v_sqrt_f32 | v_sqrt_f32 | VOP1 | gfx1100 | Calculate the square root of the single-precision float input using IEEE rules and store the result into a vector register. | |
| v_sqrt_f64 | v_sqrt_f64 | VOP1 | gfx1100 | Calculate the square root of the double-precision float input using IEEE rules and store the result into a vector register. | |
| v_sub_co_ci_u32 | v_sub_co_ci_u32 | VOP2 | Subtract the second unsigned 32-bit integer input from the first input, subtract a bit from the carry-in mask, store the result into a vector register and store the carry-out mask into a scalar register. | ||
| v_sub_co_u32 | v_sub_co_u32 | VOP2 | gfx1100 | Subtract the second unsigned 32-bit integer input from the first input, store the result into a vector register and store the carry-out mask into a scalar register. | |
| v_sub_f16 | v_sub_f16 | VOP2 | gfx1100 | Subtract the second floating point input from the first input and store the result into a vector register. | |
| v_sub_f32 | v_sub_f32 VDST, S0, S1 | VOP2 | gfx942, gfx1100 | Vector ALU | Per-lane single-precision floating-point subtract. |
| v_sub_i16 | v_sub_i16 | VOP3 | Subtract the second signed 16-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_sub_i32 | v_sub_i32 | VOP2 | Subtract the second signed 32-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_sub_nc_i16 | v_sub_nc_i16 | VOP3 | gfx1100 | Subtract the second signed 16-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | |
| v_sub_nc_i32 | v_sub_nc_i32 | VOP3 | gfx1100 | Subtract the second signed 32-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | |
| v_sub_nc_u16 | v_sub_nc_u16 | VOP3 | gfx1100 | Subtract the second unsigned 16-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | |
| v_sub_nc_u32 | v_sub_nc_u32 | VOP2 | Subtract the second unsigned 32-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_sub_nc_u64 | v_sub_nc_u64 | VOP2 | Subtract the second unsigned 64-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_sub_u16 | v_sub_u16 | VOP2 | Subtract the second unsigned 16-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_sub_u32 | v_sub_u32 | VOP2 | Subtract the second unsigned 32-bit integer input from the first input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_subb_co_u32 | v_subb_co_u32 | VOP2 | Subtract the second unsigned 32-bit integer input from the first input, subtract a bit from the carry-in mask, store the result into a vector register and store the carry-out mask into a scalar register. | ||
| v_subb_u32 | v_subb_u32 | VOP2 | AMDGPU VOP2 vector instruction operating on u32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_subbrev_co_u32 | v_subbrev_co_u32 | VOP2 | Subtract the first unsigned 32-bit integer input from the second input, subtract a bit from the carry-in mask, store the result into a vector register and store the carry-out mask into a scalar register. | ||
| v_subbrev_u32 | v_subbrev_u32 | VOP2 | AMDGPU VOP2 vector instruction operating on u32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_subrev_co_ci_u32 | v_subrev_co_ci_u32 | VOP2 | Subtract the first unsigned 32-bit integer input from the second input, subtract a bit from the carry-in mask, store the result into a vector register and store the carry-out mask into a scalar register. | ||
| v_subrev_co_u32 | v_subrev_co_u32 | VOP2 | gfx1100 | Subtract the first unsigned 32-bit integer input from the second input, store the result into a vector register and store the carry-out mask into a scalar register. | |
| v_subrev_f16 | v_subrev_f16 | VOP2 | gfx1100 | Subtract the first floating point input from the second input and store the result into a vector register. | |
| v_subrev_f32 | v_subrev_f32 | VOP2 | gfx1100 | Subtract the first floating point input from the second input and store the result into a vector register. | |
| v_subrev_i32 | v_subrev_i32 | VOP2 | AMDGPU VOP2 vector instruction operating on i32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) | ||
| v_subrev_nc_u32 | v_subrev_nc_u32 | VOP2 | Subtract the first unsigned 32-bit integer input from the second input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_subrev_u16 | v_subrev_u16 | VOP2 | Subtract the first unsigned 16-bit integer input from the second input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_subrev_u32 | v_subrev_u32 | VOP2 | Subtract the first unsigned 32-bit integer input from the second input and store the result into a vector register. No carry-in or carry-out support. | ||
| v_swap_b16 | v_swap_b16 | VOP1 | gfx1100 | Swap the values in two vector registers. | |
| v_swap_b32 | v_swap_b32 | VOP1 | gfx1100 | Swap the values in two vector registers. | |
| v_swaprel_b32 | v_swaprel_b32 | VOP1 | gfx1100 | Swap the values in two relatively-indexed vector registers. | |
| v_swmmac_bf16_16x16x32_bf16 | v_swmmac_bf16_16x16x32_bf16 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_bf16_16x16x64_bf16 | v_swmmac_bf16_16x16x64_bf16 | VOP3P | Multiply the 16x64 matrix in the first input by the 64x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_bf16f32_16x16x64_bf16 | v_swmmac_bf16f32_16x16x64_bf16 | VOP3P | Multiply the 16x64 matrix in the first input by the 64x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f16_16x16x128_bf8_bf8 | v_swmmac_f16_16x16x128_bf8_bf8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f16_16x16x128_bf8_fp8 | v_swmmac_f16_16x16x128_bf8_fp8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f16_16x16x128_fp8_bf8 | v_swmmac_f16_16x16x128_fp8_bf8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f16_16x16x128_fp8_fp8 | v_swmmac_f16_16x16x128_fp8_fp8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f16_16x16x32_f16 | v_swmmac_f16_16x16x32_f16 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f16_16x16x64_f16 | v_swmmac_f16_16x16x64_f16 | VOP3P | Multiply the 16x64 matrix in the first input by the 64x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x128_bf8_bf8 | v_swmmac_f32_16x16x128_bf8_bf8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x128_bf8_fp8 | v_swmmac_f32_16x16x128_bf8_fp8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x128_fp8_bf8 | v_swmmac_f32_16x16x128_fp8_bf8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x128_fp8_fp8 | v_swmmac_f32_16x16x128_fp8_fp8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x32_bf16 | v_swmmac_f32_16x16x32_bf16 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x32_bf8_bf8 | v_swmmac_f32_16x16x32_bf8_bf8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x32_bf8_fp8 | v_swmmac_f32_16x16x32_bf8_fp8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x32_f16 | v_swmmac_f32_16x16x32_f16 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x32_fp8_bf8 | v_swmmac_f32_16x16x32_fp8_bf8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x32_fp8_fp8 | v_swmmac_f32_16x16x32_fp8_fp8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x64_bf16 | v_swmmac_f32_16x16x64_bf16 | VOP3P | Multiply the 16x64 matrix in the first input by the 64x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_f32_16x16x64_f16 | v_swmmac_f32_16x16x64_f16 | VOP3P | Multiply the 16x64 matrix in the first input by the 64x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_i32_16x16x128_iu8 | v_swmmac_i32_16x16x128_iu8 | VOP3P | Multiply the 16x128 matrix in the first input by the 128x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_i32_16x16x32_iu4 | v_swmmac_i32_16x16x32_iu4 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_i32_16x16x32_iu8 | v_swmmac_i32_16x16x32_iu8 | VOP3P | Multiply the 16x32 matrix in the first input by the 32x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_swmmac_i32_16x16x64_iu4 | v_swmmac_i32_16x16x64_iu4 | VOP3P | Multiply the 16x64 matrix in the first input by the 64x16 matrix in the second input and accumulate the result into the 16x16 matrix in the destination registers using fused multiply add. Sparse indexes for the first matrix are given in the third input. | ||
| v_tanh_bf16 | v_tanh_bf16 | VOP1 | Calculate the hyperbolic tangent of a BF16 float value using IEEE rules and store the result into a vector register. | ||
| v_tanh_f16 | v_tanh_f16 | VOP1 | Calculate the hyperbolic tangent of a half-precision float value using IEEE rules and store the result into a vector register. | ||
| v_tanh_f32 | v_tanh_f32 | VOP1 | Calculate the hyperbolic tangent of a single-precision float value using IEEE rules and store the result into a vector register. | ||
| v_trig_preop_f64 | v_trig_preop_f64 | VOP3 | gfx1100 | Look up a 53-bit segment of 2/PI using an integer segment select in the second input. Scale the intermediate result by the exponent from the first double-precision float input and store the double-precision float result into a vector register. | |
| v_trunc_f16 | v_trunc_f16 | VOP1 | gfx1100 | Compute the integer part of a half-precision float input using round toward zero semantics and store the result in floating point format into a vector register. | |
| v_trunc_f32 | v_trunc_f32 | VOP1 | gfx1100 | Compute the integer part of a single-precision float input using round toward zero semantics and store the result in floating point format into a vector register. | |
| v_trunc_f64 | v_trunc_f64 | VOP1 | gfx1100 | Compute the integer part of a double-precision float input using round toward zero semantics and store the result in floating point format into a vector register. | |
| v_wmma_bf16_16x16x16_bf16 | v_wmma_bf16_16x16x16_bf16 | 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_wmma_bf16_16x16x32_bf16 | v_wmma_bf16_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_wmma_bf16f32_16x16x32_bf16 | v_wmma_bf16f32_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_wmma_f16_16x16x128_bf8_bf8 | v_wmma_f16_16x16x128_bf8_bf8 | 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_wmma_f16_16x16x128_bf8_fp8 | v_wmma_f16_16x16x128_bf8_fp8 | 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_wmma_f16_16x16x128_fp8_bf8 | v_wmma_f16_16x16x128_fp8_bf8 | 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_wmma_f16_16x16x128_fp8_fp8 | v_wmma_f16_16x16x128_fp8_fp8 | 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_wmma_f16_16x16x16_f16 | v_wmma_f16_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. |
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 ↗