Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180615' into staging
[qemu.git] / tests / tcg / lm32 / test_bne.S
blob871a006755cb0d7f1478af067dd22aa2b1dfc48e
1 .include "macros.inc"
3 start
5 test_name BNE_1
6 mvi r1, 0
7 mvi r2, 0
8 bne r1, r2, 1f
9 tc_pass
10 bi 2f
12 tc_fail
15 test_name BNE_2
16 mvi r1, 1
17 mvi r2, 0
18 bne r1, r2, 1f
19 tc_fail
20 bi 2f
22 tc_pass
25 test_name BNE_3
26 mvi r1, 0
27 mvi r2, 1
28 bne r1, r2, 1f
29 tc_fail
30 bi 2f
32 tc_pass
35 bi 2f
37 tc_fail
38 bi 3f
40 test_name BNE_4
41 mvi r1, 1
42 mvi r2, 1
43 bne r1, r2, 1b
44 tc_pass
47 end