mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
1368b914e9
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.
31 lines
349 B
ArmAsm
31 lines
349 B
ArmAsm
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
|
|
init_r_regs 0;
|
|
ASTAT = R0;
|
|
|
|
R2.L = 0x000f;
|
|
R2.H = 0x038c;
|
|
_DBG R2;
|
|
|
|
R7.L = 0x007c;
|
|
R7.H = 0x0718;
|
|
A0 = 0;
|
|
A0.w = R7;
|
|
_DBG A0;
|
|
|
|
A0 = ROT A0 BY R2.L;
|
|
|
|
_DBG A0;
|
|
|
|
R4 = A0.w;
|
|
R5 = A0.x;
|
|
DBGA ( R4.H , 0x003e );
|
|
DBGA ( R4.L , 0x0001 );
|
|
DBGA ( R5.H , 0xffff );
|
|
DBGA ( R5.L , 0xff8c );
|
|
|
|
pass
|