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.
35 lines
501 B
ArmAsm
35 lines
501 B
ArmAsm
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
|
|
R0 = 0;
|
|
ASTAT = R0;
|
|
imm32 R1, 0x80007fff;
|
|
imm32 R0, 0x00010001;
|
|
R0 = R1 +|+ R0, R2 = R1 -|- R0 (S , ASL);
|
|
_DBG R0;
|
|
_DBG R2;
|
|
CHECKREG R0, 0x80007fff;
|
|
CHECKREG R2, 0x80007fff;
|
|
|
|
R0 = ASTAT;
|
|
_dbg r0;
|
|
DBGA ( R0.L , 0x000a );
|
|
DBGA ( R0.H , 0x0300 );
|
|
|
|
R0 = 0;
|
|
R1 = 0;
|
|
R4 = 0;
|
|
ASTAT = R0;
|
|
R4 = R1 +|+ R0, R0 = R1 -|- R0 (S , ASL);
|
|
_DBG R4;
|
|
_DBG R0;
|
|
R7 = ASTAT;
|
|
_DBG R7;
|
|
_DBG ASTAT;
|
|
DBGA ( R7.L , 0x0001 );
|
|
DBGA ( R7.H , 0x0000 );
|
|
|
|
pass
|