]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/testsuite/sim/sh64/compact/stsl-fpul.cgs
sim: clean up stale AC_PREREQ refs
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / stsl-fpul.cgs
CommitLineData
cbb38b47
BE
1# sh testcase for sts.l fpul, @-$rn -*- Asm -*_
2# mach: all
3# as: -isa=shcompact
4# ld: -m shelf32
5
6 .include "compact/testutils.inc"
7
8 start
9
10 .global stsl_fpul
11stsl_fpul:
12 mov #40, r0
13 shll8 r0
14 # Preserve r0.
15 mov r0, r7
16 sts.l fpul, @-r0
17
18dec:
19 # Check for proper pre-decrementing.
20 add #4, r0
21 cmp/eq r0, r7
22 bf wrong
23
24okay:
25 pass
26wrong:
27 fail