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.
25 lines
330 B
ArmAsm
25 lines
330 B
ArmAsm
# Blackfin testcase for link/unlink instructions
|
|
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
/* Make sure size arg to LINK works */
|
|
R0 = SP;
|
|
LINK 0x20;
|
|
R1 = SP;
|
|
R1 += 0x8 + 0x20;
|
|
CC = R1 == R0;
|
|
IF !CC JUMP 1f;
|
|
|
|
/* Make sure UNLINK restores old SP */
|
|
UNLINK
|
|
R1 = SP;
|
|
CC = R1 == R0;
|
|
IF !CC JUMP 1f;
|
|
|
|
pass
|
|
1:
|
|
fail
|