projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
44440946365f78c9fa3900956ded39311026a1d8
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
movl4.cgs
1
# sh testcase for mov.l r0, @($imm8x4, gbr) -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
10
setaddr:
11
mov #30, r1
12
shll8 r1
13
ldc r1, gbr
14
15
init:
16
# Build up a distinctive bit pattern.
17
mov #1, r0
18
shll8 r0
19
add #12, r0
20
shll8 r0
21
add #85, r0
22
shll8 r0
23
add #170, r0
24
# Preserve.
25
mov r0, r7
26
27
mov.l r0, @(4, gbr)
28
check:
29
# Load it back.
30
mov.l @(4, gbr), r0
31
cmp/eq r0, r7
32
bf wrong
33
34
okay:
35
pass
36
wrong:
37
fail
38
This page took
0.029463 seconds
and
3
git commands to generate.