repo.or.cz
/
qemu
/
pbrook.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hw/omap1.c: Add fallthrough markers and breaks
[qemu/pbrook.git]
/
tests
/
tcg
/
lm32
/
test_cmpe.S
blob
60a885500b988610818b06784003a6a8846e2a75
1
.include "macros.inc"
2
3
start
4
5
test_name CMPE_1
6
mvi r1, 0
7
mvi r2, 0
8
cmpe r3, r1, r2
9
check_r3 1
10
11
test_name CMPE_2
12
mvi r1, 0
13
mvi r2, 1
14
cmpe r3, r1, r2
15
check_r3 0
16
17
test_name CMPE_3
18
mvi r1, 1
19
mvi r2, 0
20
cmpe r3, r1, r2
21
check_r3 0
22
23
test_name CMPE_4
24
mvi r3, 0
25
mvi r2, 1
26
cmpe r3, r3, r2
27
check_r3 0
28
29
test_name CMPE_5
30
mvi r3, 0
31
mvi r2, 0
32
cmpe r3, r3, r2
33
check_r3 1
34
35
test_name CMPE_6
36
mvi r3, 0
37
cmpe r3, r3, r3
38
check_r3 1
39
40
end