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 547–583

sm86EncodeIntegerMultiplyAddWideConstant

Full file
547def sm86EncodeIntegerMultiplyAddWideConstant =
548  (lambda unrestricted guard : SM86InstructionGuard .
549    unrestricted destination : SM86Register .
550    unrestricted left : SM86Register .
551    unrestricted right : SM86Register .
552    unrestricted bank : Byte .
553    unrestricted offset : SM86Unsigned32 .
554    unrestricted control : SM86Control .
555    nat-eliminate
556      (lambda unrestricted destinationIsZero : Nat . SM86InstructionEncodingResult)
557      (then (sm86EncodeInstructionFields sm86OpcodeIntegerMultiplyAddWideConstant guard control)
558        (sm86InstructionPrependField
559          sm86InstructionNaturalSixteen
560          sm86InstructionNaturalEight
561          (sm86RegisterNatural destination))
562        (sm86InstructionPrependField
563          sm86InstructionNaturalTwentyFour
564          sm86InstructionNaturalEight
565          (sm86RegisterNatural left))
566        (sm86InstructionPrependField
567          sm86InstructionNaturalThirtyEight
568          sm86InstructionNaturalSixteen
569          (sm86Unsigned32Natural offset))
570        (sm86InstructionPrependField
571          sm86InstructionNaturalFiftyFour
572          sm86InstructionNaturalFive
573          (byte-to-nat bank))
574        (sm86InstructionPrependField
575          sm86InstructionNaturalSixtyFour
576          sm86InstructionNaturalEight
577          (sm86RegisterNatural right))
578        (sm86InstructionOneWord24Field sm86InstructionNaturalSeventyTwo 0 142)
579        7)
580      (lambda unrestricted invalidPredecessor : Nat .
581        unrestricted invalidInduction : SM86InstructionEncodingResult .
582        sm86InstructionUnsupported 6)
583      (pipe destination sm86RegisterNatural nat-to-byte (byte-equal 255)))

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.