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

AGX device_load

T3 apple-gpu alu insn
Apple GPU (AGX): device_load
SourceApple GPU (AGX / G13+) ISA & Binary Encodings (dougallj/applegpu) (apple_gpu_agx)
Reliability TierT3 — Hardware-Verified
ISA / Silicon ScopeApple GPU G13+ (M1/M2/M3+ AGX)
Apple M1/M2/M3+ AGX (G13/G14/G15+)
License & VersionBSD-3-Clause
main
Upstreamhttps://github.com/dougallj/applegpu
Privilegeuser
Note: Reverse-engineered and hardware-verified on Apple M1/G13+ GPU by Dougall Johnson (dougallj/applegpu); undocumented by Apple.

Summary

device_load initiates a load from device memory, the result of which may be used after a wait. The data can be unpacked from a variety of formats, or passed through as-is. On each thread, up to four aligned values, each up to 32-bits, can be read from a base address plus an offset (shifted left by the alignment, with an optional additional left shift of up to two).

Syntax / Encoding

R = MemoryReg(Rx:R, Rt)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64AGX-G13 (64-bit)xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx00001010x000000000000007f / 0x0000000000000005

Operands

NameDescription
Oxbits [63:56]
maskbits [55:52]
Rtbits [49]
Fxbits [48]
sbits [43:42]
Rxbits [41:40]
Ahbits [39:36]
Ohbits [35:32]
u2bits [30]
Atbits [27]
Oubits [25]
Otbits [24]
Olbits [23:20]
Albits [19:16]
Rbits [15:10]
Fbits [9:7]