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.
34 lines
405 B
ArmAsm
34 lines
405 B
ArmAsm
# Blackfin testcase for overlapping nested hwloops (LB)
|
|
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
R0 = 0;
|
|
R1 = 0;
|
|
P0 = 2;
|
|
P1 = 2;
|
|
LSETUP (1f, 3f) LC0 = P0;
|
|
1: R0 += 1;
|
|
|
|
LSETUP (2f, 3f) LC1 = P1;
|
|
2: R1 += 1;
|
|
|
|
CC = R1 == 2;
|
|
IF !CC JUMP 3f;
|
|
CC = R0 == 1;
|
|
IF !CC JUMP fail;
|
|
R3 = LC0;
|
|
CC = R3 == 2;
|
|
IF !CC JUMP fail;
|
|
R3 = LC1;
|
|
CC = R3 == 1;
|
|
IF !CC JUMP fail;
|
|
pass
|
|
|
|
3: nop;
|
|
|
|
fail:
|
|
fail
|