Source/Packages

Compiler.MachineAArch64

packages/compiler/src/Compiler/MachineAArch64.alpha

1,480 lines362 declarations58.2 KiBSHA-256 16c7a1ba00f1

def · lines 608–610

aarch64Immediate12Byte1

Full file
An imm12 occupies bits 10-21: byte 1 takes six bits scaled by four, byte 2 the rest.
608def aarch64Immediate12Byte1 =
609  (lambda unrestricted value : Nat .
610    (naturalMultiply (naturalModuloUnchecked value aarch64SixtyFour) aarch64Four))

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.