repo.or.cz
/
qemu-kvm
/
fedora.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix build with DEBUG_PCI in pci_host.h enabled
[qemu-kvm/fedora.git]
/
tests
/
cris
/
check_addi.s
blob
a00dec02af819d444eb4c7ea4b8d7dface76f87a
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 0\n1\n2\n4\nbe02460f\n69d035a6\nc16c14d4\n
3
4
.include
"testutils.inc"
5
start
6
moveq
0
,
r3
7
moveq
0
,
r4
8
clearf zcvn
9
addi
r4.
b
,
r3
10
test_cc
0 0 0 0
11
checkr3
0
12
13
moveq
0
,
r3
14
moveq
1
,
r4
15
setf zcvn
16
addi
r4.
b
,
r3
17
test_cc
1 1 1 1
18
checkr3
1
19
20
moveq
0
,
r3
21
moveq
1
,
r4
22
setf cv
23
clearf zn
24
addi
r4.w
,
r3
25
test_cc
0 0 1 1
26
checkr3
2
27
28
moveq
0
,
r3
29
moveq
1
,
r4
30
clearf cv
31
setf zn
32
addi
r4.d
,
r3
33
test_cc
1 1 0 0
34
checkr3
4
35
36
move.d
0x12345678
,
r3
37
move.d
0xabcdef97
,
r4
38
clearf cn
39
setf zv
40
addi
r4.
b
,
r3
41
test_cc
0 1 1 0
42
checkr3 be02460f
43
44
move.d
0x12345678
,
r3
45
move.d
0xabcdef97
,
r4
46
setf cn
47
clearf zv
48
addi
r4.w
,
r3
49
test_cc
1 0 0 1
50
checkr3
69
d035a6
51
52
move.d
0x12345678
,
r3
53
move.d
0xabcdef97
,
r4
54
addi
r4.d
,
r3
55
checkr3 c16c14d4
56
57
quit