projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
daily update
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
jmp.cgs
1
# sh testcase for jmp @$rn
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
10
.global jmp
11
jmp:
12
# Load 0x1010 into r0.
13
mov #1, r0
14
shll8 r0
15
shll2 r0
16
shll2 r0
17
add #16, r0
18
jmp @r0
19
slot:
20
nop
21
bad:
22
fail
23
okay:
24
pass
25
alsobad:
26
fail
27
fail
28
fail
29