repo.or.cz
/
qemu
/
mdroth.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git://git.qemu.org/qemu
[qemu/mdroth.git]
/
tests
/
lm32
/
test_cmpgeu.S
blob
2110ccb6b79c7616f8dfa122a00824b5b18eba4c
1
.include "macros.inc"
2
3
start
4
5
test_name CMPGEU_1
6
mvi r1, 0
7
mvi r2, 0
8
cmpgeu r3, r1, r2
9
check_r3 1
10
11
test_name CMPGEU_2
12
mvi r1, 0
13
mvi r2, 1
14
cmpgeu r3, r1, r2
15
check_r3 0
16
17
test_name CMPGEU_3
18
mvi r1, 1
19
mvi r2, 0
20
cmpgeu r3, r1, r2
21
check_r3 1
22
23
test_name CMPGEU_4
24
mvi r1, 1
25
mvi r2, 1
26
cmpgeu r3, r1, r2
27
check_r3 1
28
29
test_name CMPGEU_5
30
mvi r1, 0
31
mvi r2, -1
32
cmpgeu r3, r1, r2
33
check_r3 0
34
35
test_name CMPGEU_6
36
mvi r1, -1
37
mvi r2, 0
38
cmpgeu r3, r1, r2
39
check_r3 1
40
41
test_name CMPGEU_7
42
mvi r1, -1
43
mvi r2, -1
44
cmpgeu r3, r1, r2
45
check_r3 1
46
47
test_name CMPGEU_8
48
mvi r3, 0
49
mvi r2, 1
50
cmpgeu r3, r3, r2
51
check_r3 0
52
53
test_name CMPGEU_9
54
mvi r3, 1
55
mvi r2, 0
56
cmpgeu r3, r3, r2
57
check_r3 1
58
59
test_name CMPGEU_10
60
mvi r3, 0
61
cmpgeu r3, r3, r3
62
check_r3 1
63
64
end