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 874–882

sm86FloatOperationOpcode

Full file
FADD / FMUL / FFMA with modifiers (ptxas 12.9 for sm_90a, register forms; Proof.FloatArithmeticContract holds both encoders to its words): the opcode 0x221 / 0x220 / 0x223 (FMUL with bit 86 set, as plain FMUL), the addend at bit 64 (FFMA), |right| bit 62, -right bit 63, -left bit 72, |left| bit 73, -addend bit 75, .SAT bit 77, the rounding bits 78..79 (RN 0, RM 1, RP 2, RZ 3), .FTZ bit 80
874def sm86FloatOperationOpcode =
875  (lambda unrestricted operation : SM86FloatOperation .
876    eliminate
877      SM86FloatOperation
878      (lambda unrestricted current : SM86FloatOperation . Nat)
879      operation
880      (branch SM86FloatOperationAdd . sm86OpcodeFloatAdd)
881      (branch SM86FloatOperationMultiply . sm86OpcodeFloatMultiply)
882      (branch SM86FloatOperationFusedMultiplyAdd . sm86OpcodeFloatFusedMultiplyAdd))

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.