repo.or.cz
/
qemu
/
kevin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hmp: Add commands for preconfig
[qemu/kevin.git]
/
tests
/
tcg
/
xtensa
/
test_bi.S
blob
4f94c0c7e6b33cb39487ca365b8ec07bcc2f888d
1
#include "macros.inc"
2
3
test_suite bi
4
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
13
1:
14
test_fail
15
2:
16
test_end
17
18
test bnei
19
movi a2, 1
20
bnei a2, 7, 1f
21
test_fail
22
1:
23
movi a2, 7
24
bnei a2, 7, 1f
25
j 2f
26
1:
27
test_fail
28
2:
29
test_end
30
31
test blti
32
movi a2, 6
33
blti a2, 7, 1f
34
test_fail
35
1:
36
movi a2, 0xffffffff
37
blti a2, 7, 1f
38
test_fail
39
1:
40
movi a2, 7
41
blti a2, 7, 1f
42
j 2f
43
1:
44
test_fail
45
2:
46
test_end
47
48
test bgei
49
movi a2, 7
50
bgei a2, 7, 1f
51
test_fail
52
1:
53
movi a2, 6
54
bgei a2, 7, 1f
55
j 2f
56
1:
57
test_fail
58
2:
59
movi a2, 0xffffffff
60
bgei a2, 7, 1f
61
j 2f
62
1:
63
test_fail
64
2:
65
test_end
66
67
test bltui
68
movi a2, 6
69
bltui a2, 7, 1f
70
test_fail
71
1:
72
movi a2, 7
73
bltui a2, 7, 1f
74
j 2f
75
1:
76
test_fail
77
2:
78
movi a2, 0xffffffff
79
bltui a2, 7, 1f
80
j 2f
81
1:
82
test_fail
83
2:
84
test_end
85
86
test bgeui
87
movi a2, 7
88
bgeui a2, 7, 1f
89
test_fail
90
1:
91
movi a2, 0xffffffff
92
bgeui a2, 7, 1f
93
test_fail
94
1:
95
movi a2, 6
96
bgeui a2, 7, 1f
97
j 2f
98
1:
99
test_fail
100
2:
101
test_end
102
103
test_suite_end