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

GLOBAL_ATOMIC_FCMPSWAP_X2

T1 amd-gpu atomic insn
AMD GPU GLOBAL_ATOMIC_FCMPSWAP_X2 (ENC_FLAT_GLBL)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRDNA1, RDNA2
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
ExtensionsRDNA1, RDNA2, VMEM

Summary

Compare two double-precision float values stored in the data comparison register and a location in the global aperture. Modify the memory location with a value in the data source register iff the comparison is equal. Store the original value from global aperture into a vector register iff the GLC bit is set.

Syntax / Encoding

GLOBAL_ATOMIC_FCMPSWAP_X2 VDST, ADDR, DATA, SADDR | ENC_FLAT_GLBL op=94 [RDNA1,RDNA2]

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64ENC_FLAT_GLBLxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx110111x1011110xx10xxxxxxxxxxxxxx0x00000000fdfcc000 / 0x00000000dd788000

Operands

NameDescription
VDST
ADDR
DATA
SADDR