-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e874e0b
commit 8c2abd7
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ pub mod crypto; | |
pub mod flow; | ||
|
||
pub mod contract; | ||
|
||
pub mod mem; |