image_atomic_min_num_flt GPU Native ISA AMD Vector
Image / Texture Memory
AMDGPU MIMG vector instruction. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.)
Also written as
image_atomic_fmin, image_atomic_min_flt.
AMD's machine-readable ISA specification lists these names for the same instruction.
Encoding
AMD's machine-readable ISA specification lists this instruction as
image_atomic_min_flt, which has its own page here.
The operands and layout below are from that entry.
The ENC_VIMAGE layout from AMD's machine-readable ISA specification (AMD RDNA 4). Opcode 132 in OP rebuilds 0x0000000000000000D0210000, an identifier AMD lists for this encoding. Bits marked unassigned have no field in the specification. No other generation in the specification defines this instruction.
Operands
-
VDATA
Written. Operand must be a vector GPR. Uses an 8-bit operand field. Data format: Value can be anything. (OPR_VGPR, FMT_ANY) -
RSRC
Read. Any scalar GPR operand including VCC and NULL. Data format: 256-bit image resource constant. (OPR_SREG, FMT_IMG)
In AMD's order, as its machine-readable ISA specification lists them for the ENC_VIMAGE encoding (AMD RDNA 4).
GFX Target Compatibility
Per-target GFX compatibility has not yet been verified for this instruction.
Related
More in Image / Texture Memory
Reference
Example
image_atomic_min_num_flt v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1DA real instruction accepted by the LLVM assembler, taken verbatim from LLVM's own AMDGPU MC test suite (gfx13_asm_vimage.s). Not from an AMD document, and not authored here.
Sources
- User Guide for AMDGPU Backend ↗ - LLVM Project
- LLVM MC assembler tests for AMDGPU ↗ - LLVM Project
- AMD Machine-Readable GPU ISA Specification ↗ - Advanced Micro Devices, Inc.