Skip to main content

Crate sp1_jit

Crate sp1_jit 

Source

Re-exports§

pub use backends::*;
pub use context::*;
pub use instructions::*;
pub use risc::*;

Modules§

backends
context
debug
instructions
memory
risc
shm
This module contains shared memory data structures written by Gemini 3.

Macros§

do_load_imm_var
Perform x64 operation to load a variable length integer, optimize for code size
do_opt_imm_var
Perform x64 operation with a variable length integer, optimize for code size
impl_alu32_imm_opt
Optimized 32-bit ALU operations with sign extension
impl_alu_imm_opt
Optimized ALU macro that handles immediate operands efficiently
impl_imm_opt
Generic immediate optimization macro
impl_risc_alu
A macro to implement ALU operations for the riscv transpiler.
impl_shift32_imm_opt
Optimized 32-bit shift operations with sign extension

Structs§

JitFunction
A type representing a JIT compiled function.

Traits§

Debuggable
JitMemory
A trait representing JIT memory.
JitResetableMemory
A JIT memory that is also resetable
RiscvTranspiler
A transpiler for risc32 instructions.
TraceCollector
A trait the collects traces, in the form TraceChunk.

Type Aliases§

DebugFn
A debugging utility to inspect registers
EcallHandler
ExternFn
A function that accepts the memory pointer.