repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
sim
/
testsuite
/
cris
/
asm
/
scc.ms
blob
5925f8ab764ea6973aff0bdd50ee82b0e8715f4c
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 1\n0\n1\n0\n1\n0\n1\n0\n0\n1\n1\n0\n1\n0\n1\n0\n1\n0\n0\n1\n0\n1\n1\n0\n1\n0\n0\n1\n1\n0\n1\n1\n0\n
3
4
.include "testutils.inc"
5
6
start
7
clearf nzvc
8
scc r3
9
dumpr3 ; 1
10
scs r3
11
dumpr3 ; 0
12
sne r3
13
dumpr3 ; 1
14
seq r3
15
dumpr3 ; 0
16
svc r3
17
dumpr3 ; 1
18
svs r3
19
dumpr3 ; 0
20
spl r3
21
dumpr3 ; 1
22
smi r3
23
dumpr3 ; 0
24
sls r3
25
dumpr3 ; 0
26
shi r3
27
dumpr3 ; 1
28
sge r3
29
dumpr3 ; 1
30
slt r3
31
dumpr3 ; 0
32
sgt r3
33
dumpr3 ; 1
34
sle r3
35
dumpr3 ; 0
36
sa r3
37
dumpr3 ; 1
38
setf nzvc
39
scc r3
40
dumpr3 ; 0
41
scs r3
42
dumpr3 ; 1
43
sne r3
44
dumpr3 ; 0
45
svc r3
46
dumpr3 ; 0
47
svs r3
48
dumpr3 ; 1
49
spl r3
50
dumpr3 ; 0
51
smi r3
52
dumpr3 ; 1
53
sls r3
54
dumpr3 ; 1
55
shi r3
56
dumpr3 ; 0
57
sge r3
58
dumpr3 ; 1
59
slt r3
60
dumpr3 ; 0
61
sgt r3
62
dumpr3 ; 0
63
sle r3
64
dumpr3 ; 1
65
sa r3
66
dumpr3 ; 1
67
clearf n
68
sge r3
69
dumpr3 ; 0
70
slt r3
71
dumpr3 ; 1
72
73
.if ..asm.arch.cris.v32
74
setf p
75
ssb r3
76
.else
77
moveq 1,r3
78
.endif
79
dumpr3 ; 1
80
81
.if ..asm.arch.cris.v32
82
clearf p
83
ssb r3
84
.else
85
moveq 0,r3
86
.endif
87
dumpr3 ; 0
88
89
quit