916def sm86EncodeFloatArithmetic =
917 (lambda unrestricted guard : SM86InstructionGuard .
918 unrestricted operation : SM86FloatOperation .
919 unrestricted destination : SM86Register .
920 unrestricted left : SM86Register .
921 unrestricted right : SM86Register .
922 unrestricted addend : SM86Register .
923 unrestricted modifiers : SM86FloatModifiers .
924 unrestricted control : SM86Control .
925 eliminate
926 SM86FloatModifiers
927 (lambda unrestricted current : SM86FloatModifiers . SM86InstructionEncodingResult)
928 modifiers
929 (branch
930 SM86FloatModifiersValue
931 rounding
932 flush
933 saturate
934 negateLeft
935 absoluteLeft
936 negateRight
937 absoluteRight
938 negateAddend
939 .
940 then (sm86EncodeInstructionFields (sm86FloatOperationOpcode operation) guard control)
941 (sm86InstructionPrependField 16 8 (sm86RegisterNatural destination))
942 (sm86InstructionPrependField 24 8 (sm86RegisterNatural left))
943 (sm86InstructionPrependField 32 8 (sm86RegisterNatural right))
944 (sm86InstructionPrependField 62 1 absoluteRight)
945 (sm86InstructionPrependField 63 1 negateRight)
946 (sm86InstructionPrependField
947 64
948 8
949 (naturalSelect (sm86FloatOperationFused operation) (sm86RegisterNatural addend) 0))
950 (sm86InstructionPrependField 72 1 negateLeft)
951 (sm86InstructionPrependField 73 1 absoluteLeft)
952 (sm86InstructionPrependField 75 1 negateAddend)
953 (sm86InstructionPrependField 77 1 saturate)
954 (sm86InstructionPrependField 78 2 (sm86RoundingNatural rounding))
955 (sm86InstructionPrependField 80 1 flush)
956 (sm86InstructionOneField 86 1)
957 sm86FloatOperationMultiplies
958 operation))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.