repo.or.cz
/
qemu
/
aliguori.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix event fallout in grlib_apbuart.c
[qemu/aliguori.git]
/
tests
/
cris
/
check_subq.s
blob
9e34fa31ab3eccb7c7190da9277760a2c7fb026e
1
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: 0\nffffffff\nfffffffe\nffff\nff\n56788f9\n56788d9\n567889a\n0\n7ffffffc\n
3
4
.include
"testutils.inc"
5
start
6
moveq
1
,
r3
7
subq
1
,
r3
8
test_cc
0 1 0 0
9
checkr3
0
10
11
subq
1
,
r3
12
test_cc
1 0 0 1
13
checkr3 ffffffff
14
15
subq
1
,
r3
16
test_cc
1 0 0 0
17
checkr3 fffffffe
18
19
move.d
0x10000
,
r3
20
subq
1
,
r3
21
test_cc
0 0 0 0
22
checkr3 ffff
23
24
move.d
0x100
,
r3
25
subq
1
,
r3
26
test_cc
0 0 0 0
27
checkr3 ff
28
29
move.d
0x5678900
,
r3
30
subq
7
,
r3
31
test_cc
0 0 0 0
32
checkr3
56788
f9
33
34
subq
32
,
r3
35
test_cc
0 0 0 0
36
checkr3
56788
d9
37
38
subq
63
,
r3
39
test_cc
0 0 0 0
40
checkr3
567889
a
41
42
move.d
34
,
r3
43
subq
34
,
r3
44
test_cc
0 1 0 0
45
checkr3
0
46
47
move.d
0x80000024
,
r3
48
subq
40
,
r3
49
test_cc
0 0 1 0
50
checkr3
7
ffffffc
51
52
quit