Source/Packages

Accelerator.SM86.FieldEncoding

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

794 lines86 declarations28.4 KiBSHA-256 400363ed48c6

def · lines 726–734

sm86ControlEncodingNatural

Full file
726def sm86ControlEncodingNatural =
727  (lambda unrestricted encoded : Bytes .
728    nest naturalAdd
729      (byte-to-nat (sm86ByteAt 0 encoded))
730      (pipe 1 (sm86ByteAt encoded) byte-to-nat (naturalMultiply byteNaturalTwoHundredFiftySix))
731      (pipe 2
732        (sm86ByteAt encoded)
733        byte-to-nat
734        (naturalMultiply sm86EncodingNaturalSixtyFiveThousandFiveHundredThirtySix)))

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.