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
/
addcpc.ms
blob
0302fa203621b0de3982862de44bb80b473bffd5
1
# mach: crisv3 crisv8 crisv10
2
# output: 2f\n31\n
3
4
# Test that the special case add.d const,pc works.
5
6
.include "testutils.inc"
7
start
8
x:
9
add.d y-y0,pc
10
y0:
11
quit
12
13
.space 1000
14
quit
15
quit
16
quit
17
quit
18
quit
19
z:
20
move.d 49,r3
21
dumpr3
22
quit
23
24
.space 1000
25
quit
26
quit
27
quit
28
quit
29
quit
30
y:
31
move.d 47,r3
32
dumpr3
33
add.d z-z0,pc
34
z0:
35
quit