projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
movl10.cgs
1
# sh testcase for mov.l @($imm8x4, pc), $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
10
init:
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
20
# Store to memory.
21
mov #16, r1
22
shll8 r1
23
add #32, r1
24
mov.l r2, @r1
25
check:
26
# Read it back.
27
mov.l @(12, pc), r0
28
cmp/eq r2, r0
29
bf wrong
30
31
okay:
32
pass
33
wrong:
34
fail