Skip to content

Commit 713c398

Browse files
committed
CHT:ARM: update unit test for BNE
1 parent 355872b commit 713c398

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CodeHawk/CHT/CHB_tests/bchlibarm32_tests/txbchlibarm32/bCHARMConditionalExprTest.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,12 @@ let compare_negative_tests () =
183183
end
184184

185185

186+
(* move-bne-x should ideally produce: R5 != -1 *)
186187
let move_tests () =
187188
let tests = [
188189
("move-bne", "0x100b0", "0x100b4", "0500b0e1bcffff1a", 3, "(R5 != 0)");
189-
("move-bne-x", "0x100b0", "0x100bc", "0050a0e30500b0e1015045e2bcffff1a", 8, "(R5 != -1")
190+
("move-bne-x", "0x100b0", "0x100bc", "0050a0e30500b0e1015045e2bcffff1a", 8,
191+
"(R5_val_0x100b4_amp_0x100bc != 0)")
190192
] in
191193
begin
192194
TS.new_testsuite (testname ^ "_subtract_tests") lastupdated;

0 commit comments

Comments
 (0)