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

DS_BVH_STACK_PUSH4_POP1_RTN_B32

T1 amd-gpu alu insn
AMD GPU DS_BVH_STACK_PUSH4_POP1_RTN_B32 (ENC_VDS)
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRDNA4
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
ExtensionsRDNA4, VMEM

Summary

Ray tracing involves traversing a BVH which is a kind of tree where nodes have up to 4 children. Each shader thread processes one child at a time, and overflow nodes are stored temporarily in LDS using a stack. This instruction supports pushing/popping the stack to reduce the number of VALU instructions required per traversal and reduce VMEM bandwidth requirements.

Syntax / Encoding

DS_BVH_STACK_PUSH4_POP1_RTN_B32 VDST, ADDR, DATA0, DATA1 | ENC_VDS op=224 [RDNA4]

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64ENC_VDSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx11011011100000xxxxxxxxxxxxxxxxxx0x00000000fffc0000 / 0x00000000db800000

Operands

NameDescription
VDST
ADDR
DATA0
DATA1