projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tizen 2.4 release
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
movl11.cgs
1
# sh testcase for mov.l @($imm4x4, $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, r0
10
shll8 r0
11
# Build up a distinctive bit pattern.
12
mov #1, r2
13
shll8 r2
14
add #12, r2
15
shll8 r2
16
add #85, r2
17
shll8 r2
18
add #170, r2
19
# Store something first.
20
mov.l r2, @(12, r0)
21
22
check:
23
# Read it back.
24
mov.l @(12, r0), r1
25
cmp/eq r2, r1
26
bf wrong
27
28
okay:
29
pass
30
wrong:
31
fail
32