mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +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.
47 lines
633 B
ArmAsm
47 lines
633 B
ArmAsm
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
|
|
// setup a circular buffer calculation based on illegal register values
|
|
I0 = 0xf2ef (Z);
|
|
I0.H = 0xff88;
|
|
|
|
L0 = 0xbd5f (Z);
|
|
L0.H = 0xea9b;
|
|
|
|
M0 = 0x0000 (Z);
|
|
M0.H = 0x8000;
|
|
|
|
B0 = 0x3fb9 (Z);
|
|
B0.H = 0xff80;
|
|
|
|
op1:
|
|
I0 -= M0;
|
|
|
|
R0 = I0;
|
|
DBGA ( R0.H , 0x7f88 );
|
|
DBGA ( R0.L , 0xf2ef );
|
|
|
|
// setup a circular buffer calculation based on illegal register values
|
|
I0 = 0xf2ef (Z);
|
|
I0.H = 0xff88;
|
|
|
|
L0 = 0xbd5f (Z);
|
|
L0.H = 0xea9b;
|
|
|
|
M0 = 0x0001 (Z);
|
|
M0.H = 0x8000;
|
|
|
|
B0 = 0x3fb9 (Z);
|
|
B0.H = 0xff80;
|
|
|
|
op2:
|
|
I0 -= M0;
|
|
|
|
R0 = I0;
|
|
DBGA ( R0.H , 0x7f88 );
|
|
DBGA ( R0.L , 0xf2ee );
|
|
|
|
pass
|