Source/Packages

Compiler.MachineAArch64

packages/compiler/src/Compiler/MachineAArch64.alpha

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

def · lines 570–579

aarch64EncodeBounded

Full file
Accept the word only when value < limit.
570def aarch64EncodeBounded =
571  (lambda unrestricted value : Nat .
572    (lambda unrestricted limit : Nat .
573      (lambda unrestricted word : (family AArch64EncodeResult) .
574        (nat-eliminate
575          (lambda unrestricted accepted : Nat . (family AArch64EncodeResult))
576          (constructor AArch64EncodeResult AArch64ImmediateOutOfRange value)
577          (lambda unrestricted predecessor : Nat .
578            (lambda unrestricted induction : (family AArch64EncodeResult) . word))
579          (naturalLess value limit)))))

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.