docs/system/gdb.rst: Add some more heading structure
[qemu/ar7.git] / tests / tcg / xtensa / test_bi.S
blob4f94c0c7e6b33cb39487ca365b8ec07bcc2f888d
1 #include "macros.inc"
3 test_suite bi
5 test beqi
6     movi    a2, 7
7     beqi    a2, 7, 1f
8     test_fail
9 1:
10     movi    a2, 1
11     beqi    a2, 7, 1f
12     j       2f
14     test_fail
16 test_end
18 test bnei
19     movi    a2, 1
20     bnei    a2, 7, 1f
21     test_fail
23     movi    a2, 7
24     bnei    a2, 7, 1f
25     j       2f
27     test_fail
29 test_end
31 test blti
32     movi    a2, 6
33     blti    a2, 7, 1f
34     test_fail
36     movi    a2, 0xffffffff
37     blti    a2, 7, 1f
38     test_fail
40     movi    a2, 7
41     blti    a2, 7, 1f
42     j       2f
44     test_fail
46 test_end
48 test bgei
49     movi    a2, 7
50     bgei    a2, 7, 1f
51     test_fail
53     movi    a2, 6
54     bgei    a2, 7, 1f
55     j       2f
57     test_fail
59     movi    a2, 0xffffffff
60     bgei    a2, 7, 1f
61     j       2f
63     test_fail
65 test_end
67 test bltui
68     movi    a2, 6
69     bltui   a2, 7, 1f
70     test_fail
72     movi    a2, 7
73     bltui   a2, 7, 1f
74     j       2f
76     test_fail
78     movi    a2, 0xffffffff
79     bltui   a2, 7, 1f
80     j       2f
82     test_fail
84 test_end
86 test bgeui
87     movi    a2, 7
88     bgeui   a2, 7, 1f
89     test_fail
91     movi    a2, 0xffffffff
92     bgeui   a2, 7, 1f
93     test_fail
95     movi    a2, 6
96     bgeui   a2, 7, 1f
97     j       2f
99     test_fail
101 test_end
103 test_suite_end