sim: clean up stale AC_PREREQ refs
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / movl11.cgs
CommitLineData
cbb38b47
BE
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
22check:
23 # Read it back.
24 mov.l @(12, r0), r1
25 cmp/eq r2, r1
26 bf wrong
27
28okay:
29 pass
30wrong:
31 fail
32
This page took 0.840004 seconds and 4 git commands to generate.