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

SHF

T2 nvidia-gpu load_store insn
NVIDIA SASS Instruction: SHF (OpShf)
SourceNVIDIA Native SASS Ops & Hardware Latency Tables (Mesa Nouveau NAK) (mesa_nouveau_nak_sass)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeNVIDIA SASS SM50–SM120
NVIDIA Volta (SM70), Turing (SM75), Ampere (SM80/86), Ada (SM89), Hopper (SM90), Blackwell (SM100/SM120)
License & VersionMIT
mesa/main
Upstreamhttps://gitlab.freedesktop.org/mesa/mesa/-/tree/main/src/nouveau/compiler/nak
Privilegeuser
ExtensionsMaxwell/Pascal (SM50–SM61), Volta/Turing (SM70–SM75), Ampere/Ada/Hopper (SM80–SM90), Blackwell (SM100/SM120), Uniform Datapath (U-ops)

Summary

NVIDIA native GPU SASS instruction SHF (Mesa Nouveau NAK OpShf). SM70+ opcode(s): 0x019, 0x099. Modifiers: low, high, shift, right, wrap, data_type. Supported across Maxwell/Pascal (SM50–SM61), Volta/Turing (SM70–SM75), Ampere/Ada/Hopper (SM80–SM90).

Syntax / Encoding

SHF dst, dst_high

Cross-Chip Latency & Throughput (3 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
NVIDIA Ampere/Ada (SM80/SM89)4—1CoupledAlumesa_nouveau_nak_sass
NVIDIA Blackwell (SM100/SM120)4—1Alumesa_nouveau_nak_sass
NVIDIA Turing (SM75)4—1CoupledAlumesa_nouveau_nak_sass

Binary Encodings (2)

WidthFormatBit PatternMask / Match
128NVIDIA SM70+ 128-bit SASS0x00000FFF / 0x019
128NVIDIA SM70+ 128-bit SASS0x00000FFF / 0x099

Operands

NameDescription
dstNAK IR field `dst: Dst`
lowNAK IR field `low: Src`
highNAK IR field `high: Src`
shiftNAK IR field `shift: Src`
rightNAK IR field `right: bool`
wrapNAK IR field `wrap: bool`
data_typeNAK IR field `data_type: IntType`
dst_highNAK IR field `dst_high: bool`