Module jit
Expand description
Efficient just-in-time generation of CPU states.
Cloning and manipulating CPU states can be slow, especially if they do not fit in CPU cache. Sometimes it is more efficient to generate a state on-the-fly by modifying an existing state, rather than cloning the state and keeping multiple copies in memory. This module defines various ways to generate states just-in-time from a base state.
Structs§
- A CPU state that is constructed just-in-time by replacing specific state bytes with the correct values.
- A builder for
ComplexJitState. - A reference to
ComplexJitState. - A just-in-time CPU state that replaces one or more general-purpose registers with the correct values.
- A builder for
GpRegJitState. - A reference to a
GpRegJitState. - A simple just-in-time CPU state, that replaces a fixed set of state bytes with the correct value.
- A reference to a
SimpleJitState.
Enums§
- A wrapper that implements
AsSystemStateand can either contain aSimpleJitState,ComplexJitStateor a normalSystemState. - A reference to a
MaybeJitState.