repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git]
/
tests
/
tcg
/
cris
/
bare
/
check_cmpq.s
blob
5469141c916004bbff4392e1fad062bc9a50f9ef
1
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: 1\n1\n1\n1f\n1f\nffffffe1\nffffffe1\nffffffe0\n0\n0\nffffffff\nffffffff\n10000\n100\n5678900\n
3
4
.include
"testutils.inc"
5
start
6
moveq
1
,
r3
7
cmpq
1
,
r3
8
test_cc
0 1 0 0
9
checkr3
1
10
11
cmpq
-
1
,
r3
12
test_cc
0 0 0 1
13
checkr3
1
14
15
cmpq
31
,
r3
16
test_cc
1 0 0 1
17
checkr3
1
18
19
moveq
31
,
r3
20
cmpq
31
,
r3
21
test_cc
0 1 0 0
22
checkr3
1
f
23
24
cmpq
-
31
,
r3
25
test_cc
0 0 0 1
26
checkr3
1
f
27
28
movs.
b
-
31
,
r3
29
cmpq
-
31
,
r3
30
test_cc
0 1 0 0
31
checkr3 ffffffe1
32
33
cmpq
-
32
,
r3
34
test_cc
0 0 0 0
35
checkr3 ffffffe1
36
37
movs.
b
-
32
,
r3
38
cmpq
-
32
,
r3
39
test_cc
0 1 0 0
40
checkr3 ffffffe0
41
42
moveq
0
,
r3
43
cmpq
1
,
r3
44
test_cc
1 0 0 1
45
checkr3
0
46
47
cmpq
-
32
,
r3
48
test_cc
0 0 0 1
49
checkr3
0
50
51
moveq
-
1
,
r3
52
cmpq
1
,
r3
53
test_cc
1 0 0 0
54
checkr3 ffffffff
55
56
cmpq
-
1
,
r3
57
test_cc
0 1 0 0
58
checkr3 ffffffff
59
60
move.d
0x10000
,
r3
61
cmpq
1
,
r3
62
test_cc
0 0 0 0
63
checkr3
10000
64
65
move.d
0x100
,
r3
66
cmpq
1
,
r3
67
test_cc
0 0 0 0
68
checkr3
100
69
70
move.d
0x5678900
,
r3
71
cmpq
7
,
r3
72
test_cc
0 0 0 0
73
checkr3
5678900
74
75
quit