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

S_BARRIER_LEAVE

T1 amd-gpu memory_order insn
AMD GPU S_BARRIER_LEAVE (ENC_SOPP)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeCDNA5
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, MESSAGE

Summary

Leave a named barrier that this wave has previously joined. Increments KMCNT on issue and decrements KMCNT when operation completes. Returns nonzero to SCC if this is the last wave to leave the named barrier.

Syntax / Encoding

S_BARRIER_LEAVE  | ENC_SOPP op=21 [CDNA5]

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32ENC_SOPP1011111110010101xxxxxxxxxxxxxxxx0xffff0000 / 0xbf950000