@[instance_reducible]
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Equations
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.half a) (Miri.Interpreter.Math.HostBits.half b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.half bits) (Miri.Interpreter.Math.HostBits.single bits_1) = isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.half bits) (Miri.Interpreter.Math.HostBits.double bits_1) = isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.single bits) (Miri.Interpreter.Math.HostBits.half bits_1) = isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.single a) (Miri.Interpreter.Math.HostBits.single b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.single bits) (Miri.Interpreter.Math.HostBits.double bits_1) = isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.double bits) (Miri.Interpreter.Math.HostBits.half bits_1) = isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.double bits) (Miri.Interpreter.Math.HostBits.single bits_1) = isFalse ⋯
- Miri.Interpreter.Math.instDecidableEqHostBits.decEq (Miri.Interpreter.Math.HostBits.double a) (Miri.Interpreter.Math.HostBits.double b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Equations
- (Miri.Interpreter.Math.HostBits.half a).toSoft = { format := Miri.Interpreter.FloatFormat.binary16, bits := BitVec.ofNat 128 a.toNat }
- (Miri.Interpreter.Math.HostBits.single a).toSoft = { format := Miri.Interpreter.FloatFormat.binary32, bits := BitVec.ofNat 128 a.toNat }
- (Miri.Interpreter.Math.HostBits.double a).toSoft = { format := Miri.Interpreter.FloatFormat.binary64, bits := BitVec.ofNat 128 a.toNat }
Instances For
- floatOps : FloatOpsHooks P S C
- scalarOps : ScalarOpsHooks P S C
- readImmediate : C → OpTy P → RvalueM S (RvalueImmTy P)
- destLayout : V → ABI.TyAndLayout MIR.TyId
- genericFloat : C → Array MIR.TyId → RvalueM S FloatFormat
Source C ABI/deprecated shim argument check; compiler call ABI retained.
- errorMode : ErrorMode
- returnToBlock : C → Option MIR.BasicBlockId → RvalueM S Unit
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- Miri.Interpreter.Math.liftResult (Except.ok value) = pure value
- Miri.Interpreter.Math.liftResult (Except.error error) = throw error
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Miri.Interpreter.Math.invalid message = throw (Miri.Interpreter.StepError.invalidProgram message)
Instances For
Equations
Instances For
Equations
Instances For
def
Miri.Interpreter.Math.readScalar
{P S C V : Type}
(h : Hooks P S C V)
(choice : C)
(op : OpTy P)
:
M S (Memory.Scalar P)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.Math.readFloat
{P S C V : Type}
[Memory.PointerProvenance P]
(h : Hooks P S C V)
(choice : C)
(op : OpTy P)
(format : FloatFormat)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.