repo.or.cz
/
qemu
/
wangdongxu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
qed: fix use-after-free during l2 cache commit
[qemu/wangdongxu.git]
/
tests
/
lm32
/
test_cmpgei.S
blob
6a8870f4c3f6f30390bdfcd21b64d4fcfb9bc721
1
.include "macros.inc"
2
3
start
4
5
test_name CMPGEI_1
6
mvi r1, 0
7
cmpgei r3, r1, 0
8
check_r3 1
9
10
test_name CMPGEI_2
11
mvi r1, 0
12
cmpgei r3, r1, 1
13
check_r3 0
14
15
test_name CMPGEI_3
16
mvi r1, 1
17
cmpgei r3, r1, 0
18
check_r3 1
19
20
test_name CMPGEI_4
21
mvi r1, 1
22
cmpgei r3, r1, 1
23
check_r3 1
24
25
test_name CMPGEI_5
26
mvi r1, 0
27
cmpgei r3, r1, -1
28
check_r3 1
29
30
test_name CMPGEI_6
31
mvi r1, -1
32
cmpgei r3, r1, 0
33
check_r3 0
34
35
test_name CMPGEI_7
36
mvi r1, -1
37
cmpgei r3, r1, -1
38
check_r3 1
39
40
test_name CMPGEI_8
41
mvi r3, 0
42
cmpgei r3, r3, 1
43
check_r3 0
44
45
test_name CMPGEI_9
46
mvi r3, 1
47
cmpgei r3, r3, 0
48
check_r3 1
49
50
test_name CMPGEI_10
51
mvi r3, 0
52
cmpgei r3, r3, 0
53
check_r3 1
54
55
end