arm: Fix the failing mve scalar shift execution tests.
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Mon, 22 Jun 2020 16:11:19 +0000 (17:11 +0100)
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Mon, 22 Jun 2020 16:13:05 +0000 (17:13 +0100)
commit99abb146fd0923ebda2c7e7681adb18e6798a90c
tree84d0eaf041bf14f13a9f1801b761be9e4f20b31c
parent647340c92a042e8e6f7d004637f07060dbde49c0
arm: Fix the failing mve scalar shift execution tests.

In GCC testsuite the MVE scalar shift execution tests (mve_scalar_shifts[1-4].c) are failings
because of executing them on target hardware which doesn't support MVE instructions. This patch
restricts those tests to execute only on target hardware that support MVE instructions.

2020-06-22  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

gcc/
* doc/sourcebuild.texi (arm_v8_1m_mve_fp_ok): Add item.
(arm_mve_hw): Likewise.

gcc/testsuite/
* gcc.target/arm/mve/intrinsics/mve_scalar_shifts1.c: Modify.
* gcc.target/arm/mve/intrinsics/mve_scalar_shifts2.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_scalar_shifts3.c: Likewise.
* gcc.target/arm/mve/intrinsics/mve_scalar_shifts4.c: Likewise.
* lib/target-supports.exp (check_effective_target_arm_mve_hw): Define.
gcc/doc/sourcebuild.texi
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_scalar_shifts1.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_scalar_shifts2.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_scalar_shifts3.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_scalar_shifts4.c
gcc/testsuite/lib/target-supports.exp