s_barrier_leave GPU Native ISA AMD Scalar
Branch & Control
AMDGPU SOPP scalar instruction. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.)
Encoding
The ENC_SOPP layout from AMD's machine-readable ISA specification (AMD CDNA 5). Opcode 21 in OP rebuilds 0xBF950000, an identifier AMD lists for this encoding. No other generation in the specification defines this instruction.
Operands
-
1: immediate
Literal value encoded in the instruction. Written 0 in the assembler example.
Register classes read from the LLVM assembler example on this page. No source this site uses names these operands, so no names are given.
GFX Target Compatibility
Per-target GFX compatibility has not yet been verified for this instruction.
Related
More in Branch & Control
Reference
Example
s_barrier_leave 0A real instruction accepted by the LLVM assembler, taken verbatim from LLVM's own AMDGPU MC test suite (gfx13_asm_sopp.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.