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.
59 lines
669 B
ArmAsm
59 lines
669 B
ArmAsm
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
|
|
|
|
R6.L = 32767;
|
|
R6.H = 2768;
|
|
R1.L = 2767;
|
|
R1.H = 2768;
|
|
|
|
r7=0;
|
|
astat = r7;
|
|
r3 = r6 -|- r1;
|
|
_DBG r3;
|
|
_DBG ASTAT;
|
|
r7=ASTAT;
|
|
_DBG R7;
|
|
DBGA (R7.H, 0x0);
|
|
DBGA (R7.L, 0x3005);
|
|
|
|
r7=0;
|
|
astat=r7;
|
|
r2 = r6 +|+ r1;
|
|
_DBG r2;
|
|
_DBG ASTAT;
|
|
r7=ASTAT;
|
|
_DBG R7;
|
|
DBGA (R7.H, 0x0300);
|
|
DBGA (R7.L, 0x000a);
|
|
|
|
r7=0;
|
|
astat=r7;
|
|
r2 = r6 +|+ r1, r3 = r6 -|- r1;
|
|
|
|
_DBG r2;
|
|
_DBG r3;
|
|
_DBG ASTAT;
|
|
|
|
R7 = ASTAT;
|
|
_DBG R7;
|
|
DBGA (R7.H, 0x0300);
|
|
DBGA (R7.L, 0x000b);
|
|
|
|
r7=0;
|
|
astat=r7;
|
|
r2 = r6 +|- r1, r3 = r6 -|+ r1;
|
|
|
|
_DBG r2;
|
|
_DBG r3;
|
|
_DBG ASTAT;
|
|
|
|
R7 = ASTAT;
|
|
_DBG R7;
|
|
DBGA (R7.H, 0x0300);
|
|
DBGA (R7.L, 0x000b);
|
|
|
|
pass
|