binutils-gdb/sim/testsuite/bfin/hwloop-lt-bits.s
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
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.
2021-01-15 19:18:34 -05:00

26 lines
317 B
ArmAsm

# Blackfin testcase for HW Loops (LT) LSB behavior
# mach: bfin
.include "testutils.inc"
start
# Loading LT should always clear LSB
imm32 R6, 0xaaaa5555
R4 = R6;
BITCLR (R4, 0);
LT0 = R6;
LT1 = R6;
R0 = LT0;
CC = R0 == R4;
IF ! CC JUMP 1f;
R0 = LT1;
CC = R0 == R4;
IF ! CC JUMP 1f;
pass
1: fail