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
/
movl1.cgs
1
# sh testcase for mov.l $rm, @$rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
mov #30, r1
10
shll8 r1
11
init:
12
# Build up a distinctive bit pattern.
13
mov #1, r2
14
shll8 r2
15
add #12, r2
16
shll8 r2
17
add #85, r2
18
shll8 r2
19
add #170, r2
20
21
mov.l r2, @r1
22
23
# Load it back.
24
mov.l @r1, r3
25
cmp/eq r2, r3
26
bf wrong
27
28
okay:
29
pass
30
wrong:
31
fail