Source/Packages

Accelerator.SM86.InstructionEncoding

packages/hardware/architectures/nvidia-sm86/src/Accelerator/SM86/InstructionEncoding.alpha

2,937 lines191 declarations105.3 KiBSHA-256 0462dcc8328a

def · lines 1739–1747

sm86MemoryScopeOrderNatural

Full file
---- system forms (AlphaOS) ---- Every word below is the one ptxas 12.9 writes for sm_86 (experiments/sm86-opcodes/sources/ptxas-oracle.tsv; Proof.SM86SystemEncoding checks them), with one normalization: the .E memory forms name the uniform register holding the global-memory descriptor, and Alpha keeps it in UR4 as its LDG/STG/RED encoders above already do (ptxas happened to pick UR6). The descriptor word's other fields: bits 77..80 memory order (strong.CTA 5, strong.GPU 7, strong.SYS 10), bits 87..90 the atomic operation (Mesa NAK AtomOp: add 0, min 1, max 2, inc 3, dec 4, and 5, or 6, xor 7, exch 8).
1739def sm86MemoryScopeOrderNatural =
1740  (lambda unrestricted scope : SM86MemoryScope .
1741    eliminate
1742      SM86MemoryScope
1743      (lambda unrestricted current : SM86MemoryScope . Nat)
1744      scope
1745      (branch SM86ScopeBlock . 5)
1746      (branch SM86ScopeDevice . 7)
1747      (branch SM86ScopeSystem . 10))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.