Documentation

Miri.Interpreter.Math.Dispatch

Equations
Instances For
    def Miri.Interpreter.Math.runUnary {P S C V : Type} (h : Hooks P S C V) (choice : C) (name : String) (op : Unary) (value : FloatBits) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Miri.Interpreter.Math.runBinary {P S C V : Type} (h : Hooks P S C V) (choice : C) (name : String) (op : Binary) (a b : FloatBits) (clampResult : Bool) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Miri.Interpreter.Math.floatFastError {P S C V : Type} [Memory.PointerProvenance P] (h : Hooks P S C V) (choice : C) (value : RvalueImmTy P) (bound : Nat) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Miri.Interpreter.Math.evalIntrinsic {P S C V : Type} [Memory.PointerProvenance P] (h : Hooks P S C V) (choice : C) (name : String) (generics : Array MIR.TyId) (args : Array (OpTy P)) (dest : V) :

          All remaining source math intrinsic arms. Host f128 preserves the pinned unimplemented arm; sqrtf128 uses the fully portable integer algorithm.

          Instances For
            def Miri.Interpreter.Math.evalShim {P S C V : Type} [Memory.PointerProvenance P] (h : Hooks P S C V) (choice : C) (name : String) (args : Array (OpTy P)) (dest : V) :

            Full shims/math.rs dispatch. Gamma's sign pointer is dereferenced before host evaluation and written before error perturbation/clamping/NaN choice.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For