hw/omap1.c: Add fallthrough markers and breaks
[qemu/pbrook.git] / tests / tcg / lm32 / test_bgeu.S
blobbe440308fd894c3f5c65adb27e1720c5afd570e1
1 .include "macros.inc"
3 start
5 test_name BGEU_1
6 mvi r1, 0
7 mvi r2, 0
8 bgeu r1, r2, 1f
9 tc_fail
10 bi 2f
12 tc_pass
15 test_name BGEU_2
16 mvi r1, 1
17 mvi r2, 0
18 bgeu r1, r2, 1f
19 tc_fail
20 bi 2f
22 tc_pass
25 test_name BGEU_3
26 mvi r1, 0
27 mvi r2, 1
28 bgeu r1, r2, 1f
29 tc_pass
30 bi 2f
32 tc_fail
35 test_name BGEU_4
36 mvi r1, 0
37 mvi r2, -1
38 bgeu r1, r2, 1f
39 tc_pass
40 bi 2f
42 tc_fail
45 test_name BGEU_5
46 mvi r1, -1
47 mvi r2, 0
48 bgeu r1, r2, 1f
49 tc_fail
50 bi 2f
52 tc_pass
55 test_name BGEU_6
56 mvi r1, -1
57 mvi r2, -1
58 bgeu r1, r2, 1f
59 tc_fail
60 bi 2f
62 tc_pass
65 bi 2f
67 tc_pass
68 bi 3f
70 test_name BGEU_7
71 mvi r1, 1
72 mvi r2, 0
73 bgeu r1, r2, 1b
74 tc_fail
77 end