repo.or.cz
/
qemu
/
mdroth.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tcg/ppc32: proper setcond implementation
[qemu/mdroth.git]
/
tests
/
cris
/
check_cmpc.s
blob
267c9ba8c01fb01cd77b109db778598b1583abfc
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: ffffffff\n2\nffff\nffffffff\n78134452\nffffffff\n2\nffff\nfedaffff\n78134452\nffffffff\n2\nff\nfeda49ff\n78134452\n85649282\n
3
4
.include
"testutils.inc"
5
start
6
moveq
-
1
,
r3
7
cmp.d
-
2
,
r3
8
test_cc
0 0 0 0
9
checkr3 ffffffff
10
11
moveq
2
,
r3
12
cmp.d
1
,
r3
13
test_cc
0 0 0 0
14
checkr3
2
15
16
move.d
0xffff
,
r3
17
cmp.d
-
0xffff
,
r3
18
test_cc
0 0 0 1
19
checkr3 ffff
20
21
moveq
-
1
,
r3
22
cmp.d
1
,
r3
23
test_cc
1 0 0 0
24
checkr3 ffffffff
25
26
move.d
0x78134452
,
r3
27
cmp.d
-
0x5432f789
,
r3
28
test_cc
1 0 1 1
29
checkr3
78134452
30
31
moveq
-
1
,
r3
32
cmp.w
-
2
,
r3
33
test_cc
0 0 0 0
34
checkr3 ffffffff
35
36
moveq
2
,
r3
37
cmp.w
1
,
r3
38
test_cc
0 0 0 0
39
checkr3
2
40
41
move.d
0xffff
,
r3
42
cmp.w
1
,
r3
43
test_cc
1 0 0 0
44
checkr3 ffff
45
46
move.d
0xfedaffff
,
r3
47
cmp.w
1
,
r3
48
test_cc
1 0 0 0
49
checkr3 fedaffff
50
51
move.d
0x78134452
,
r3
52
cmp.w
0x877
,
r3
53
test_cc
0 0 0 0
54
checkr3
78134452
55
56
moveq
-
1
,
r3
57
cmp.
b
-
2
,
r3
58
test_cc
0 0 0 0
59
checkr3 ffffffff
60
61
moveq
2
,
r3
62
cmp.
b
1
,
r3
63
test_cc
0 0 0 0
64
checkr3
2
65
66
move.d
0xff
,
r3
67
cmp.
b
1
,
r3
68
test_cc
1 0 0 0
69
checkr3 ff
70
71
move.d
0xfeda49ff
,
r3
72
cmp.
b
1
,
r3
73
test_cc
1 0 0 0
74
checkr3 feda49ff
75
76
move.d
0x78134452
,
r3
77
cmp.
b
0x77
,
r3
78
test_cc
1 0 0 1
79
checkr3
78134452
80
81
move.d
0x85649282
,
r3
82
cmp.
b
0x82
,
r3
83
test_cc
0 1 0 0
84
checkr3
85649282
85
86
quit