Statistics
| Branch: | Revision:

root / tests / tcg / xtensa / test_bi.S @ c09015dd

History | View | Annotate | Download (1.2 kB)

1 7d890b40 Max Filippov
.include "macros.inc"
2 7d890b40 Max Filippov
3 7d890b40 Max Filippov
test_suite bi
4 7d890b40 Max Filippov
5 7d890b40 Max Filippov
test beqi
6 7d890b40 Max Filippov
    movi    a2, 7
7 7d890b40 Max Filippov
    beqi    a2, 7, 1f
8 7d890b40 Max Filippov
    test_fail
9 7d890b40 Max Filippov
1:
10 7d890b40 Max Filippov
    movi    a2, 1
11 7d890b40 Max Filippov
    beqi    a2, 7, 1f
12 7d890b40 Max Filippov
    j       2f
13 7d890b40 Max Filippov
1:
14 7d890b40 Max Filippov
    test_fail
15 7d890b40 Max Filippov
2:
16 7d890b40 Max Filippov
test_end
17 7d890b40 Max Filippov
18 7d890b40 Max Filippov
test bnei
19 7d890b40 Max Filippov
    movi    a2, 1
20 7d890b40 Max Filippov
    bnei    a2, 7, 1f
21 7d890b40 Max Filippov
    test_fail
22 7d890b40 Max Filippov
1:
23 7d890b40 Max Filippov
    movi    a2, 7
24 7d890b40 Max Filippov
    bnei    a2, 7, 1f
25 7d890b40 Max Filippov
    j       2f
26 7d890b40 Max Filippov
1:
27 7d890b40 Max Filippov
    test_fail
28 7d890b40 Max Filippov
2:
29 7d890b40 Max Filippov
test_end
30 7d890b40 Max Filippov
31 7d890b40 Max Filippov
test blti
32 7d890b40 Max Filippov
    movi    a2, 6
33 7d890b40 Max Filippov
    blti    a2, 7, 1f
34 7d890b40 Max Filippov
    test_fail
35 7d890b40 Max Filippov
1:
36 7d890b40 Max Filippov
    movi    a2, 0xffffffff
37 7d890b40 Max Filippov
    blti    a2, 7, 1f
38 7d890b40 Max Filippov
    test_fail
39 7d890b40 Max Filippov
1:
40 7d890b40 Max Filippov
    movi    a2, 7
41 7d890b40 Max Filippov
    blti    a2, 7, 1f
42 7d890b40 Max Filippov
    j       2f
43 7d890b40 Max Filippov
1:
44 7d890b40 Max Filippov
    test_fail
45 7d890b40 Max Filippov
2:
46 7d890b40 Max Filippov
test_end
47 7d890b40 Max Filippov
48 7d890b40 Max Filippov
test bgei
49 7d890b40 Max Filippov
    movi    a2, 7
50 7d890b40 Max Filippov
    bgei    a2, 7, 1f
51 7d890b40 Max Filippov
    test_fail
52 7d890b40 Max Filippov
1:
53 7d890b40 Max Filippov
    movi    a2, 6
54 7d890b40 Max Filippov
    bgei    a2, 7, 1f
55 7d890b40 Max Filippov
    j       2f
56 7d890b40 Max Filippov
1:
57 7d890b40 Max Filippov
    test_fail
58 7d890b40 Max Filippov
2:
59 7d890b40 Max Filippov
    movi    a2, 0xffffffff
60 7d890b40 Max Filippov
    bgei    a2, 7, 1f
61 7d890b40 Max Filippov
    j       2f
62 7d890b40 Max Filippov
1:
63 7d890b40 Max Filippov
    test_fail
64 7d890b40 Max Filippov
2:
65 7d890b40 Max Filippov
test_end
66 7d890b40 Max Filippov
67 7d890b40 Max Filippov
test bltui
68 7d890b40 Max Filippov
    movi    a2, 6
69 7d890b40 Max Filippov
    bltui   a2, 7, 1f
70 7d890b40 Max Filippov
    test_fail
71 7d890b40 Max Filippov
1:
72 7d890b40 Max Filippov
    movi    a2, 7
73 7d890b40 Max Filippov
    bltui   a2, 7, 1f
74 7d890b40 Max Filippov
    j       2f
75 7d890b40 Max Filippov
1:
76 7d890b40 Max Filippov
    test_fail
77 7d890b40 Max Filippov
2:
78 7d890b40 Max Filippov
    movi    a2, 0xffffffff
79 7d890b40 Max Filippov
    bltui   a2, 7, 1f
80 7d890b40 Max Filippov
    j       2f
81 7d890b40 Max Filippov
1:
82 7d890b40 Max Filippov
    test_fail
83 7d890b40 Max Filippov
2:
84 7d890b40 Max Filippov
test_end
85 7d890b40 Max Filippov
86 7d890b40 Max Filippov
test bgeui
87 7d890b40 Max Filippov
    movi    a2, 7
88 7d890b40 Max Filippov
    bgeui   a2, 7, 1f
89 7d890b40 Max Filippov
    test_fail
90 7d890b40 Max Filippov
1:
91 7d890b40 Max Filippov
    movi    a2, 0xffffffff
92 7d890b40 Max Filippov
    bgeui   a2, 7, 1f
93 7d890b40 Max Filippov
    test_fail
94 7d890b40 Max Filippov
1:
95 7d890b40 Max Filippov
    movi    a2, 6
96 7d890b40 Max Filippov
    bgeui   a2, 7, 1f
97 7d890b40 Max Filippov
    j       2f
98 7d890b40 Max Filippov
1:
99 7d890b40 Max Filippov
    test_fail
100 7d890b40 Max Filippov
2:
101 7d890b40 Max Filippov
test_end
102 7d890b40 Max Filippov
103 7d890b40 Max Filippov
test_suite_end