s_mul_i32 GPU Native ISA AMD Scalar
S MUL I32 Scalar Arithmetic
s_mul_i32 SDST, S0, S1
Multiply two 32-bit signed scalar operands, wavefront-uniform, low 32 bits of the product.
Encoding
Verified bit-level encoding data is not yet available for this instruction.
The instruction-format classification below (SOP2)
is well-documented and stable; exact per-target opcode/field bit positions have not
yet been imported from a verified source.
Operands
-
SDST
Destination SGPR -
S0
First source SGPR/constant -
S1
Second source SGPR/constant
GFX Target Compatibility
| Target | Support |
|---|---|
| gfx942 | ✅ Supported |
| gfx1100 | ✅ Supported |
Related PTX Concepts
Reference
AMDGPU / GFX ISA
Semantics
SDST = lo32(S0.i32 * S1.i32).
Sources
- ROCm Documentation ↗ — Advanced Micro Devices, Inc.
- User Guide for AMDGPU Backend ↗ — LLVM Project