ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

FLAT_ATOMIC_COND_SUB_U32

T1 amd-gpu atomic insn
AMD GPU FLAT_ATOMIC_COND_SUB_U32 (ENC_VFLAT)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeCDNA5, RDNA4
AMD RDNA1/2/3/3.5/4 & CDNA1/2/3/4 GPUs
License & VersionAMD GPUOpen / MIT (isa_spec_manager)
2026-official
Upstreamhttps://gpuopen.com/machine-readable-isa/
Privilegeuser
ExtensionsCDNA5, RDNA4, VMEM

Summary

Subtract an unsigned 32-bit integer value in the data register from a location in the flat aperture only if the memory value is greater than or equal to the data register value. Store the original value from flat aperture into a vector register iff the temporal hint enables atomic return.

Syntax / Encoding

FLAT_ATOMIC_COND_SUB_U32 VDST, VADDR, VSRC, SADDR | ENC_VFLAT op=80 [CDNA5,RDNA4]

Binary Encodings (1)

WidthFormatBit PatternMask / Match
96ENC_VFLATxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx11101100xx01010000xxxxxxxxxxxxxx0x0000000000000000ff3fc000 / 0x0000000000000000ec140000

Operands

NameDescription
VDST
VADDR
VSRC
SADDR