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.
45 lines
540 B
ArmAsm
45 lines
540 B
ArmAsm
# Blackfin testcase for event processing
|
|
# mach: bfin
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
# Run enough instructions to trigger event processing
|
|
# and thus cpu stopping/restarting
|
|
|
|
R0 = 0;
|
|
imm32 R1, 100000
|
|
|
|
3:
|
|
R0 += 1; # 1
|
|
R0 += 1;
|
|
R0 += 1; # 3
|
|
R0 += 1;
|
|
R0 += 1; # 5
|
|
R0 += 1;
|
|
R0 += 1; # 7
|
|
R0 += 1;
|
|
R0 += 1; # 9
|
|
R0 += 1;
|
|
R0 += 1; # 11
|
|
R0 += 1;
|
|
R0 += 1; # 13
|
|
R0 += 1;
|
|
R0 += 1; # 15
|
|
R0 += 1;
|
|
R0 += 1; # 17
|
|
R0 += 1;
|
|
R0 += 1; # 19
|
|
R0 += 1;
|
|
|
|
CC = R0 < R1;
|
|
IF CC JUMP 3b;
|
|
|
|
CC = R0 == R1;
|
|
IF !CC JUMP 1f;
|
|
|
|
pass
|
|
1:
|
|
fail
|