sim: clean up stale AC_PREREQ refs
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / movw10.cgs
1 # sh testcase for mov.w @($imm8x2, 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 # Build up a distinctive bit pattern.
11 mov #1, r2
12 shll8 r2
13 add #12, r2
14
15 # Store to memory.
16 mov #16, r1
17 shll8 r1
18 add #32, r1
19 mov.w r2, @r1
20
21 check:
22 # Read it back.
23 mov.w @(18, pc), r0
24 shll16 r0
25 shll16 r2
26 cmp/eq r0, r2
27 bf wrong
28
29 okay:
30 pass
31 wrong:
32 fail
This page took 0.030926 seconds and 4 git commands to generate.