binutils-gdb/sim/testsuite/bfin/issue124.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

27 lines
280 B
ArmAsm

# mach: bfin
.include "testutils.inc"
start
// issue 124
R0 = 0;
R1.L = 0x80;
A0.w = R0;
A0.x = R1;
A1.w = R0;
A1.x = R1;
_DBG A0;
_DBG A1;
R5 = ( A0 += A1 );
_DBG A0;
R7 = A0.w; DBGA ( R7.H , 0 ); DBGA ( R7.L , 0 );
R7 = A0.x; DBGA ( R7.L , 0xff80 );
pass