Skip to content

Commit

Permalink
o1vm/riscv32im: check T3 register state for addi
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Dec 23, 2024
1 parent aab22df commit 2c55e6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions o1vm/tests/test_riscv_elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ fn test_addi_negative() {
assert_eq!(witness.registers[T0], 100);
assert_eq!(witness.registers[T1], 50);
assert_eq!(witness.registers[T2], (-50_i32) as u32);
assert_eq!(witness.registers[T3], (-1000_i32) as u32);
assert_eq!(witness.registers[T4], (-1500_i32) as u32);
}

Expand Down

0 comments on commit 2c55e6b

Please sign in to comment.