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_cmpnei.S
blob
060dd9d394ad92445248ac237d26fa2947738258
1
.include "macros.inc"
2
3
start
4
5
test_name CMPNEI_1
6
mvi r1, 0
7
cmpnei r3, r1, 0
8
check_r3 0
9
10
test_name CMPNEI_2
11
mvi r1, 0
12
cmpnei r3, r1, 1
13
check_r3 1
14
15
test_name CMPNEI_3
16
mvi r1, 1
17
cmpnei r3, r1, 0
18
check_r3 1
19
20
test_name CMPNEI_4
21
load r1 0xffffffff
22
cmpnei r3, r1, -1
23
check_r3 0
24
25
test_name CMPNEI_5
26
mvi r3, 0
27
cmpnei r3, r3, 0
28
check_r3 0
29
30
test_name CMPNEI_6
31
mvi r3, 0
32
cmpnei r3, r3, 1
33
check_r3 1
34
35
end