Pinned core intrinsics/simd.rs and Miri intrinsics/simd.rs dispatch. Every lane retains its canonical compiler type and full pointer provenance; projection, memory and compiler dependencies remain required typed effects.
- sqrt : SimdMathOp
- sin : SimdMathOp
- cos : SimdMathOp
- exp : SimdMathOp
- exp2 : SimdMathOp
- log : SimdMathOp
- log2 : SimdMathOp
- log10 : SimdMathOp
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
- target : ABI.TargetDataLayout
- boolTy : MIR.TyId
- u8Ty : MIR.TyId
- forceAllocation : C → V → RvalueM S V
- placeLayout : V → ABI.TyAndLayout MIR.TyId
- placePointer : V → Except StepError (Memory.Pointer (Option P))
- fieldLayout : C → ABI.TyAndLayout MIR.TyId → Nat → RvalueM S (ABI.TyAndLayout MIR.TyId)
- readImmediate : C → OpTy P → RvalueM S (RvalueImmTy P)
- derefImmediate : C → RvalueImmTy P → RvalueM S V
- readPlaceImmediate : C → V → RvalueM S (RvalueImmTy P)
- unalignedPlace : C → Memory.Pointer (Option P) → ABI.TyAndLayout MIR.TyId → RvalueM S V
- checkAlign : C → Memory.Pointer (Option P) → ABI.Align → RvalueM S Unit
- alignmentConst : C → Nat → RvalueM S Memory.SimdAlignment
- scalarOps : ScalarOpsHooks P S C
- floatOps : FloatOpsHooks P S C
- castHooks : CastHooks P S C V
- mathLane : C → SimdMathOp → OpTy P → V → RvalueM S Unit
- returnToBlock : C → Option MIR.BasicBlockId → RvalueM S Unit
Instances For
def
Miri.Interpreter.IntrinsicSimd.elementToBool
{P S C V : Type}
[Memory.PointerProvenance P]
(h : IntrinsicSimdHooks P S C V)
(choice : C)
(value : RvalueImmTy P)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.IntrinsicSimd.eval
{P S C V : Type}
[Memory.PointerProvenance P]
(h : IntrinsicSimdHooks P S C V)
(choice : C)
(name : String)
(args : Array (OpTy P))
(dest : V)
(ret : Option MIR.BasicBlockId)
:
Core always forces the destination before dispatch; lane effects occur in source order and remain committed when a later lane fails.