binutils-gdb/sim/testsuite/bfin/msa_acp_5.10.S
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
Now that all port tests live under testsuite/sim/*/, and none live
in testsuite/ directly, flatten the structure by moving all of the
dirs under testsuite/sim/ to testsuite/ directly.

We need to stop passing --tool to dejagnu so that it searches all
dirs and not just ones that start with "sim".  Since we have no
other dirs in this tree, and no plans to add any, should be fine.
2021-01-15 19:18:34 -05:00

41 lines
487 B
ArmAsm

# mach: bfin
#include "test.h"
.include "testutils.inc"
start
init_r_regs 0
astat = r0;
r1.l = 0x0;
r1.h = 0x8000;
A0.w=r1;
_dbg a1;
a0 = a0 << 8;
_dbg a0;
_dbg astat;
A0 = - A0;
_dbg astat;
_dbg a0;
r7 = astat;
checkreg r7, (_AV0|_AV0S);
r1.l = 0x0;
r1.h = 0x8000;
A1.w=r1;
_dbg a0;
a1 = a1 << 8;
_dbg a1;
_dbg astat;
r7 = astat;
checkreg r7, (_AV0|_AV0S|_AN);
A1 = - A1;
r7 = astat;
checkreg r7, (_AV1|_AV1S|_AV0|_AV0S);
_dbg astat;
_dbg a1;
pass;