projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gas/config/tc-avr.c: Change ISA for devices with USB support to
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
media
/
ldw.cgs
1
# sh testcase for ld.w $rm, $disp10, $rd -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
6
.include "media/testutils.inc"
7
8
start
9
init:
10
movi 20, r3
11
shlli r3, 8, r3
12
13
ldw1:
14
ld.w r3, 0, r0
15
ldw2:
16
ld.w r3, -2, r0
17
ldw3:
18
ld.w r3, 2, r0
19
20
okay:
21
pass