Source/Packages

Accelerator.SM90.InstructionEncoding

packages/hardware/architectures/nvidia-sm90/src/Accelerator/SM90/InstructionEncoding.alpha

500 lines73 declarations29.3 KiBSHA-256 6893fe9ca611

def · lines 136–139

sm90RegisterGroupAdmitted

Full file
a register group of `width` registers (1, 2, 4) starting at `register`: one register is any (RZ included: STG [Ra.64], RZ stores zero); a pair or quad is aligned to its width and ends below RZ
136def sm90RegisterGroupAdmitted = (lambda unrestricted width : Nat . unrestricted register : SM86Register .
137  let unrestricted n = (sm90RegisterNumber register) in
138  naturalOr (naturalEqual width 1)
139    (pipe n (nat-modulo width) naturalIsZero (naturalAnd (naturalLessOrEqual (nat-add n width) 255))))

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.