mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-01-14 21:35:02 +01:00
many improvements
- fix a decode bug for C.ADDI16SP - improve test suite (to test that bug) - improve debugging - clean up code
This commit is contained in:
parent
fdb4968c8b
commit
b2c3c9fc80
8 changed files with 290 additions and 64 deletions
|
|
@ -47,6 +47,7 @@ fn test_case(tmpdir: &Path, file: &DirEntry, name: &str, march: &str) -> eyre::R
|
|||
let status = rustv32i::execute_linux_elf(
|
||||
&content,
|
||||
true,
|
||||
0,
|
||||
Box::new(|_, xreg| {
|
||||
if xreg[Reg::A7.0 as usize] == u32::MAX {
|
||||
if xreg[Reg::A0.0 as usize] == 1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue