ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

shfl.sync

T2 nvidia-gpu load_store insn
NVIDIA PTX PTX Async / Sync / Warp Instruction: shfl.sync
SourceLLVM NVIDIA PTX Virtual ISA & Feature Definitions (llvm_nvptx_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeNVIDIA PTX (LLVM) (PTX Async / Sync / Warp)
NVIDIA CUDA PTX (sm_20 Fermi through sm_121 Blackwell)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/NVPTX
Privilegeuser
ExtensionsPTX Async / Sync / Warp, PTX60, SM30

Summary

NVIDIA PTX shfl.sync instruction (PTX Async / Sync / Warp) with 128 encoding variants extracted from LLVM TableGen. Extensions: PTX60, SM30.

Syntax / Encoding

anonymous_15535: shfl.sync.up.b32 $dst, $src, $offset, $mask, $threadmask;
anonymous_15543: shfl.sync.up.b32 $dst|$pred, $src, $offset, $mask, $threadmask;
anonymous_15567: shfl.sync.down.b32 $dst, $src, $offset, $mask, $threadmask;
anonymous_15575: shfl.sync.down.b32 $dst|$pred, $src, $offset, $mask, $threadmask;
anonymous_15599: shfl.sync.bfly.b32 $dst, $src, $offset, $mask, $threadmask;
anonymous_15607: shfl.sync.bfly.b32 $dst|$pred, $src, $offset, $mask, $threadmask;
anonymous_15631: shfl.sync.idx.b32 $dst, $src, $offset, $mask, $threadmask;
anonymous_15639: shfl.sync.idx.b32 $dst|$pred, $src, $offset, $mask, $threadmask;

Operands

NameDescription
dst
src
offset
mask
threadmask
threadmask
mask
offset