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
bfd/ELF: slightly "better" file alignment for object files
[binutils-gdb.git]
/
sim
/
testsuite
/
cris
/
asm
/
mstep.ms
blob
74aa20d78cd77d6cfa1010b6f8b12c9dedaa5cd8
1
# mach: crisv3 crisv8 crisv10
2
#output: fffffffe\n
3
#output: 3\n
4
#output: 1fffe\n
5
#output: 2fffd\n
6
#output: fffffffd\n
7
#output: ffffffff\n
8
#output: f02688a4\n
9
#output: 1fffe\n
10
#output: fffffffe\n
11
#output: fffffffe\n
12
#output: fffffff9\n
13
#output: 0\n
14
#output: 4459802d\n
15
#output: 4459802d\n
16
17
.include "testutils.inc"
18
start
19
moveq -1,r3
20
moveq 2,r4
21
mstep r4,r3
22
test_move_cc 1 0 0 0
23
dumpr3 ; fffffffe
24
25
moveq 2,r3
26
moveq -1,r4
27
mstep r4,r3
28
test_move_cc 0 0 0 0
29
dumpr3 ; 3
30
31
move.d 0xffff,r4
32
move.d r4,r3
33
mstep r4,r3
34
test_move_cc 0 0 0 0
35
dumpr3 ; 1fffe
36
37
move.d 0xffff,r4
38
move.d r4,r3
39
setf n
40
mstep r4,r3
41
test_move_cc 0 0 0 0
42
dumpr3 ; 2fffd
43
44
moveq -1,r4
45
move.d r4,r3
46
mstep r4,r3
47
test_move_cc 1 0 0 0
48
dumpr3 ; fffffffd
49
50
moveq -1,r3
51
moveq 1,r4
52
setf n
53
mstep r4,r3
54
test_move_cc 1 0 0 0
55
dumpr3 ; ffffffff
56
57
move.d 0x5432f789,r4
58
move.d 0x78134452,r3
59
mstep r4,r3
60
test_move_cc 1 0 0 0
61
dumpr3 ; f02688a4
62
63
move.d 0xffff,r3
64
move.d 0x1fffe,r4
65
mstep r4,r3
66
test_move_cc 0 0 0 0
67
dumpr3 ; 1fffe
68
69
move.d 0x7fffffff,r3
70
moveq 5,r5
71
mstep r5,r3
72
test_move_cc 1 0 0 0
73
dumpr3 ; fffffffe
74
75
move.d 0x7fffffff,r3
76
moveq 0,r5
77
mstep r5,r3
78
test_move_cc 1 0 0 0
79
dumpr3 ; fffffffe
80
81
move.d 0x7fffffff,r3
82
moveq -5,r5
83
mstep r5,r3
84
test_move_cc 1 0 0 0
85
dumpr3 ; fffffff9
86
87
move.d 0x7fffffff,r3
88
moveq 2,r5
89
setf n
90
mstep r5,r3
91
test_move_cc 0 1 0 0
92
dumpr3 ; 0
93
94
move.d 0x5432f789,r4
95
move.d 0x78134452,r3
96
setf n
97
mstep r4,r3
98
test_move_cc 0 0 0 0
99
dumpr3 ; 4459802d
100
101
move.d 0x5432f789,r4
102
move.d 0x78134452,r3
103
setf nc
104
mstep r4,r3
105
test_move_cc 0 0 0 0
106
dumpr3 ; 4459802d
107
108
quit