ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 919 microarchs · 15,488 chips · 105 sources
Arch:
Tier:

GLOBAL_ATOMIC_COND_SUB_U32

T1 amd-gpu atomic insn
AMD GPU GLOBAL_ATOMIC_COND_SUB_U32 (ENC_VGLOBAL)
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 global aperture only if the memory value is greater than or equal to the data register value. Store the original value from global aperture into a vector register iff the temporal hint enables atomic return.

Syntax / Encoding

GLOBAL_ATOMIC_COND_SUB_U32 VDST, VADDR, VSRC, SADDR | ENC_VGLOBAL op=80 [CDNA5,RDNA4]

Binary Encodings (1)

WidthFormatBit PatternMask / Match
96ENC_VGLOBALxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx11101110xx01010000xxxxxxxxxxxxxx0x0000000000000000ff3fc000 / 0x0000000000000000ee140000

Operands

NameDescription
VDST
VADDR
VSRC
SADDR