projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
ldcl-gbr.cgs
1
# sh testcase for ldc.l @${rn}+, gbr -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
10
.global ldcl
11
ldcl:
12
mov #40, r0
13
shll8 r0
14
# Preserve address.
15
mov r0, r1
16
ldc.l @r0+, gbr
17
18
# Add 4 to saved address (r1).
19
# Then compare with r0.
20
add #4, r1
21
cmp/eq r0, r1
22
bf wrong
23
24
okay:
25
pass
26
27
wrong:
28
fail