Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchTurner committed Oct 23, 2023
1 parent e874e0b commit 8c2abd7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions benches/benches/block_target_gas_set/mem.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
use crate::*;

// ALOC: Allocate memory
// CFE: Extend call frame
// CFEI: Extend call frame immediate
// CFS: Shrink call frame
// CFSI: Shrink call frame immediate
// LB: Load byte
// LW: Load word
// MCL: Memory clear
// MCLI: Memory clear immediate
// MCP: Memory copy
// MCPI: Memory copy immediate
// MEQ: Memory equality
// POPH: Pop a set of high registers from stack
// POPL: Pop a set of low registers from stack
// PSHH: Push a set of high registers to stack
// PSHL: Push a set of low registers to stack
// SB: Store byte
// SW: Store word
pub fn run_mem(group: &mut BenchmarkGroup<WallTime>) {
todo!()
}
2 changes: 2 additions & 0 deletions benches/benches/block_target_gas_set/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ pub mod crypto;
pub mod flow;

pub mod contract;

pub mod mem;

0 comments on commit 8c2abd7

Please sign in to comment.