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

AGX uniform_store

T3 apple-gpu alu insn
Apple GPU (AGX): uniform_store
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

uniform_store is used to initialise uniform registers. R is stored to offset O, which is typically an index in 16-bit units into the uniform registers. This is encoded like (and possibly is) a store to device memory, and can move one 16-bit register to initialise a 16-bit uniform, or two consecutive 16-bit registers to initialise a 32-bit uniform.

Syntax / Encoding

R = MemoryReg(Rx:R, Rt)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64AGX-G13 (64-bit)xxxxxxxxxxxx00xxxxxxxxxx0000xxxxxx111xxxxxxx0000xxxxxx0xx10001010x000c00f0380f027f / 0x0000000038000045

Operands

NameDescription
Oxbits [63:56]
maskbits [55:52]
Rtbits [49]
bbits [46:44]
sbits [43:42]
Rxbits [41:40]
Ohbits [35:32]
unkbits [26:25]
Otbits [24]
Olbits [23:20]
Rbits [15:10]
Fbits [8:7]