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.
46 lines
388 B
ArmAsm
46 lines
388 B
ArmAsm
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
|
|
|
|
|
|
loadsym r7, foo;
|
|
|
|
p0 = r7;
|
|
|
|
r0.h=0x2a2a;
|
|
r0.l=0x2a2a;
|
|
|
|
[p0++]=r0;
|
|
[p0++]=r0;
|
|
r0=0;
|
|
[p0++]=r0;
|
|
|
|
p0 = r7;
|
|
p1=-1;
|
|
|
|
lsetup(lstart, lend) lc0=p1;
|
|
|
|
lstart:
|
|
_dbg p0;
|
|
r1=b[p0++] (z);
|
|
cc = r1 == 0;
|
|
if cc jump ldone;
|
|
lend:
|
|
nop;
|
|
|
|
ldone:
|
|
|
|
r1=b[p0++](z);
|
|
r1=p0;
|
|
r6 = r1 - r7;
|
|
|
|
DBGA (R6.L, 0xA);
|
|
|
|
pass;
|
|
|
|
.data
|
|
foo:
|
|
.space (0x100)
|