projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
cris
/
asm
/
subxr.ms
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2
# output: 3\n3\nffffff03\nffff0003\nff00\n0\n10000\n10000\n0\nffffff00\n0\n781343c9\n781344c9\n78124cc9\n78134cc9\nc450\n7ffff8ce\n
3
4
.include "testutils.inc"
5
start
6
moveq 2,r3
7
move.d 0xff,r4
8
subs.b r4,r3
9
test_cc 0 0 0 1
10
dumpr3 ; 3
11
12
moveq 2,r3
13
move.d 0xffff,r4
14
subs.w r4,r3
15
test_cc 0 0 0 1
16
dumpr3 ; 3
17
18
moveq 2,r3
19
move.d 0xffff,r4
20
subu.b r4,r3
21
test_cc 1 0 0 1
22
dumpr3 ; ffffff03
23
24
moveq 2,r3
25
move.d 0xffffffff,r4
26
subu.w r4,r3
27
test_cc 1 0 0 1
28
dumpr3 ; ffff0003
29
30
move.d 0xffff,r3
31
move.d 0xffffffff,r4
32
subu.b r4,r3
33
test_cc 0 0 0 0
34
dumpr3 ; ff00
35
36
move.d 0xffff,r3
37
move.d 0xffffffff,r4
38
subu.w r4,r3
39
test_cc 0 1 0 0
40
dumpr3 ; 0
41
42
move.d 0xffff,r3
43
move.d 0xff,r4
44
subs.b r4,r3
45
test_cc 0 0 0 1
46
dumpr3 ; 10000
47
48
move.d 0xffff,r4
49
move.d r4,r3
50
subs.w r4,r3
51
test_cc 0 0 0 1
52
dumpr3 ; 10000
53
54
moveq -1,r3
55
move.d 0xff,r4
56
subs.b r4,r3
57
test_cc 0 1 0 0
58
dumpr3 ; 0
59
60
moveq -1,r3
61
move.d 0xff,r4
62
subs.w r4,r3
63
test_cc 1 0 0 0
64
dumpr3 ; ffffff00
65
66
moveq -1,r3
67
move.d 0xffff,r4
68
subs.w r4,r3
69
test_cc 0 1 0 0
70
dumpr3 ; 0
71
72
move.d 0x5432f789,r4
73
move.d 0x78134452,r3
74
subu.b r4,r3
75
test_cc 0 0 0 0
76
dumpr3 ; 781343c9
77
78
move.d 0x5432f789,r4
79
move.d 0x78134452,r3
80
subs.b r4,r3
81
test_cc 0 0 0 1
82
dumpr3 ; 781344c9
83
84
move.d 0x5432f789,r4
85
move.d 0x78134452,r3
86
subu.w r4,r3
87
test_cc 0 0 0 0
88
dumpr3 ; 78124cc9
89
90
move.d 0x5432f789,r4
91
move.d 0x78134452,r3
92
subs.w r4,r3
93
test_cc 0 0 0 1
94
dumpr3 ; 78134cc9
95
96
move.d 0x4452,r3
97
move.d 0x78568002,r4
98
subs.w r4,r3
99
test_cc 0 0 0 1
100
dumpr3 ; c450
101
102
move.d 0x80000032,r3
103
move.d 0xffff0764,r4
104
subu.w r4,r3
105
test_cc 0 0 1 0
106
dumpr3 ; 7ffff8ce
107
108
quit
This page took
0.036669 seconds
and
4
git commands to generate.