Source/Packages

Accelerator.SM86.FieldEncoding

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

794 lines86 declarations28.4 KiBSHA-256 400363ed48c6

def · lines 356–367

sm86FieldValueFitsByByteChunks

Full file
356def sm86FieldValueFitsByByteChunks =
357  (lambda unrestricted width : Nat . unrestricted value : Nat .
358    eliminate
359      NaturalDivisionState
360      (lambda unrestricted current : NaturalDivisionState . Nat)
361      (naturalDivisionState width sm86EncodingNaturalEight)
362      (branch
363        NaturalDivisionStateValue
364        remainder
365        quotient
366        .
367        nat-less-than (sm86FieldDivideByteChunks quotient value) (naturalPowerOfTwo remainder)))

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.