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 1834–1840

sm86RelativeTransferWord

Full file
BRX, CALL.REL and RET.REL carry a signed 32-bit offset at 32..63 whose sign also fills bits 64..81 (0x3ffff in the descriptor word when negative).
1834def sm86RelativeTransferWord =
1835  (lambda unrestricted base : Nat . unrestricted offset : SM86Unsigned32 .
1836    then (nat-add base)
1837      (nat-multiply 262143)
1838      (nat-less-than 2147483647)
1839      sm86Unsigned32Natural
1840      offset)

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.