Register-form DADD/DMUL, with RNE and no implicit contraction. Source facts:
Mesa NAK sm70_encode.rs at 61a2e907f1d6e4a8432d91d0fde5d439a875fbbe,
OpDAdd/OpDMul and encode_alu_base (upstream mirror):
https://chromium.googlesource.com/external/gitlab.freedesktop.org/mesa/mesa/+/61a2e907f1d6e4a8432d91d0fde5d439a875fbbe/src/nouveau/compiler/nak/sm70_encode.rs
Addition's right operand occupies src2; multiplication uses src1. Subtraction
negates src2. These encodings still require separate physical qualification.
696def sm86EncodeFloat64Binary =
697 (lambda unrestricted guard : SM86InstructionGuard .
698 unrestricted operation : SM86Float64Operation .
699 unrestricted destination : SM86RegisterPair .
700 unrestricted left : SM86RegisterPair .
701 unrestricted right : SM86RegisterPair .
702 unrestricted control : SM86Control .
703 let unrestricted encode =
704 (lambda unrestricted opcode : Nat . unrestricted rightAt : Nat . unrestricted negate : Nat .
705 then (sm86EncodeInstructionFields opcode guard control)
706 (sm86InstructionPrependField 16 8 (sm86RegisterPairIndex destination))
707 (sm86InstructionPrependField 24 8 (sm86RegisterPairIndex left))
708 (sm86InstructionPrependField rightAt 8 (sm86RegisterPairIndex right))
709 (sm86InstructionOneField 75 1)
710 negate)
711 in
712 nat-eliminate
713 (lambda unrestricted valid : Nat . SM86InstructionEncodingResult)
714 (sm86InstructionUnsupported 64)
715 (lambda unrestricted predecessor : Nat .
716 unrestricted ignored : SM86InstructionEncodingResult .
717 eliminate
718 SM86Float64Operation
719 (lambda unrestricted value : SM86Float64Operation . SM86InstructionEncodingResult)
720 operation
721 (branch SM86Float64Add . encode 0x229 64 0)
722 (branch SM86Float64Subtract . encode 0x229 64 1)
723 (branch SM86Float64Multiply . encode 0x228 32 0))
724 (sm86Float64RegistersAdmitted destination left right))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.