progress: new assembler works, instruction set fully implemented with call/ret and push/pop, bf.dsa works which means the dsa assembly language works reliably. still a few bugs to fix. might be able to squeeze out a tiny bit more performance
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
[package]
|
||||
name = "emulator"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[[bin]]
|
||||
name = "dsa"
|
||||
path = "src/main.rs"
|
||||
|
||||
[lib]
|
||||
name = "dsa"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { version = "0.5.0", features = ["html_reports"] }
|
||||
|
||||
[dependencies]
|
||||
arc-swap = "1.8.2"
|
||||
clap = { version = "4.5.60", features = ["derive"] }
|
||||
fxhash = "0.2.1"
|
||||
ron = "0.12.0"
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
|
||||
common = { path = "../common" }
|
||||
#assembler = { path = "../assembler" }
|
||||
|
||||
|
||||
[[bench]]
|
||||
name = "bench_mainstore"
|
||||
harness = false
|
||||
|
||||
[features]
|
||||
default = ["mainstore-bulkalloc"]
|
||||
|
||||
# Memory Bank Features
|
||||
mainstore-bulkalloc = [] # Fastest for Writes
|
||||
mainstore-prealloc = [] # Fastest for Reads
|
||||
mainstore-stackarray = [] # Slightly outperforms ArrayMap but requires a large stack
|
||||
mainstore-arraymap = [] # Simple implementation
|
||||
mainstore-hashmap = [] # Old implementation, no raw pointers. Uses a hashmap
|
||||
Reference in New Issue
Block a user