s_cbranch_scc1 GPU Native ISA AMD Scalar
S CBRANCH SCC1 Branch & Control
s_cbranch_scc1 offset
Conditional relative branch, taken when the SCC (scalar condition code) flag is set.
Encoding
Verified bit-level encoding data is not yet available for this instruction.
The instruction-format classification below (SOPP)
is well-documented and stable; exact per-target opcode/field bit positions have not
yet been imported from a verified source.
Operands
-
offset
Signed word-granularity branch offset
GFX Target Compatibility
| Target | Support |
|---|---|
| gfx942 | ✅ Supported |
| gfx1100 | ✅ Supported |
Reference
AMDGPU / GFX ISA
Semantics
if (SCC == 1) PC = PC + 4 + signed_offset * 4.
Sources
- ROCm Documentation ↗ — Advanced Micro Devices, Inc.
- User Guide for AMDGPU Backend ↗ — LLVM Project