projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
sim: clean up stale AC_PREREQ refs
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
movl7.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
10
mov #30, r0
11
shll8 r0
12
# Preserve address.
13
mov r0, r7
14
# Store something first.
15
mov #170, r3
16
mov.l r3, @r0
17
18
mov.l @r0+, r1
19
check:
20
cmp/eq r1, r3
21
bf wrong
22
23
# Ensure address is post-incremented.
24
add #4, r7
25
cmp/eq r7, r0
26
bf wrong
27
28
equal:
29
# Test rm = rn.
30
mov #30, r0
31
shll8 r0
32
mov.l @r0+, r0
33
34
okay:
35
pass
36
wrong:
37
fail
This page took
0.030742 seconds
and
4
git commands to generate.