mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +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
653 B
ArmAsm
25 lines
653 B
ArmAsm
# Test for ASTAT AZ bit update with 16 bit add and sub insns
|
|
# mach: bfin
|
|
|
|
#include "test.h"
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
dmm32 ASTAT, (0x10a04e10 | _VS | _V | _AV1S | _AQ | _CC | _V_COPY);
|
|
imm32 R3, 0x05fd7405;
|
|
imm32 R7, 0x7fff7fff;
|
|
R3.H = R7.L - R7.H (NS);
|
|
checkreg R3, 0x00007405;
|
|
checkreg ASTAT, (0x10a04e10 | _VS | _AV1S | _AC0 | _AQ | _CC | _AC0_COPY | _AZ);
|
|
|
|
dmm32 ASTAT, (0x64200e10 | _VS | _AV0S | _AC1 | _AC0 | _AZ);
|
|
imm32 R1, 0x2c388489;
|
|
imm32 R3, 0x38f39dcc;
|
|
imm32 R5, 0x27ed8efa;
|
|
R3.H = R1.L + R5.L (NS);
|
|
checkreg R3, 0x13839dcc;
|
|
checkreg ASTAT, (0x64200e10 | _VS | _V | _AV0S | _AC1 | _AC0 | _V_COPY | _AC0_COPY);
|
|
|
|
pass
|