repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
iotests: 028: Use TEST_IMG override instead of "mv"
[qemu.git]
/
tests
/
tcg
/
xtensa
/
test_bz.S
blob
b68135011e30fe9b51f79e830c9fe09f4f2056dc
1
#include "macros.inc"
2
3
test_suite bz
4
5
test beqz
6
movi a2, 0
7
_beqz a2, 1f
8
test_fail
9
1:
10
movi a2, 1
11
_beqz a2, 1f
12
j 2f
13
1:
14
test_fail
15
2:
16
test_end
17
18
test bnez
19
movi a2, 1
20
_bnez a2, 1f
21
test_fail
22
1:
23
movi a2, 0
24
_bnez a2, 1f
25
j 2f
26
1:
27
test_fail
28
2:
29
test_end
30
31
test bltz
32
movi a2, 0xffffffff
33
bltz a2, 1f
34
test_fail
35
1:
36
movi a2, 0
37
bltz a2, 1f
38
j 2f
39
1:
40
test_fail
41
2:
42
test_end
43
44
test bgez
45
movi a2, 0
46
bgez a2, 1f
47
test_fail
48
1:
49
movi a2, 0xffffffff
50
bgez a2, 1f
51
j 2f
52
1:
53
test_fail
54
2:
55
test_end
56
57
test_suite_end