repo.or.cz
/
qemu
/
mini2440
/
sniper_sniper_test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vnc: cleanup surface handling, fix screen corruption bug. (Gerd Hoffmann)
[qemu/mini2440/sniper_sniper_test.git]
/
tests
/
cris
/
check_subc.s
blob
e34b5448e25d88cbf57380a54891a70877a852be
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 1\n1\n1fffe\nfffffffe\ncc463bdb\nffff0001\n1\nfffe\nfedafffe\n78133bdb\nffffff01\n1\nfe\nfeda49fe\n781344db\n85649200\n
3
4
.include
"testutils.inc"
5
start
6
7
moveq
-
1
,
r3
8
sub.
d
-
2
,
r3
9
test_cc
0 0 0 0
10
checkr3
1
11
12
moveq
2
,
r3
13
sub.
d
1
,
r3
14
test_cc
0 0 0 0
15
checkr3
1
16
17
move.d
0xffff
,
r3
18
sub.
d
-
0xffff
,
r3
19
test_cc
0 0 0 1
20
checkr3
1
fffe
21
22
moveq
-
1
,
r3
23
sub.
d
1
,
r3
24
test_cc
1 0 0 0
25
checkr3 fffffffe
26
27
move.d
0x78134452
,
r3
28
sub.
d
-
0x5432f789
,
r3
29
test_cc
1 0 1 1
30
checkr3 cc463bdb
31
32
moveq
-
1
,
r3
33
sub.
w
-
2
,
r3
34
test_cc
0 0 0 0
35
checkr3 ffff0001
36
37
moveq
2
,
r3
38
sub.
w
1
,
r3
39
test_cc
0 0 0 0
40
checkr3
1
41
42
move.d
0xffff
,
r3
43
sub.
w
1
,
r3
44
test_cc
1 0 0 0
45
checkr3 fffe
46
47
move.d
0xfedaffff
,
r3
48
sub.
w
1
,
r3
49
test_cc
1 0 0 0
50
checkr3 fedafffe
51
52
move.d
0x78134452
,
r3
53
sub.
w
0x877
,
r3
54
test_cc
0 0 0 0
55
checkr3
78133
bdb
56
57
moveq
-
1
,
r3
58
sub.b
-
2
,
r3
59
test_cc
0 0 0 0
60
checkr3 ffffff01
61
62
moveq
2
,
r3
63
sub.b
1
,
r3
64
test_cc
0 0 0 0
65
checkr3
1
66
67
move.d
0xff
,
r3
68
sub.b
1
,
r3
69
test_cc
1 0 0 0
70
checkr3 fe
71
72
move.d
0xfeda49ff
,
r3
73
sub.b
1
,
r3
74
test_cc
1 0 0 0
75
checkr3 feda49fe
76
77
move.d
0x78134452
,
r3
78
sub.b
0x77
,
r3
79
test_cc
1 0 0 1
80
checkr3
781344
db
81
82
move.d
0x85649282
,
r3
83
sub.b
0x82
,
r3
84
test_cc
0 1 0 0
85
checkr3
85649200
86
87
quit