The recently added gcc.target/aarch64/advsimd-intrinsics/vrnd*.c tests cause...
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 21 Jun 2016 16:35:44 +0000 (16:35 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Tue, 21 Jun 2016 16:35:44 +0000 (16:35 +0000)
commit89192c3c536188bcbb2c99e47106b66eb520bd42
treea4eab55abb8dd4ea4880d93cbd8e30ecb176a63c
parent64ac50e29b7551e7ddde5f59ff1a7d7a95376475
The recently added gcc.target/aarch64/advsimd-intrinsics/vrnd*.c tests cause...

The recently added gcc.target/aarch64/advsimd-intrinsics/vrnd*.c tests cause
failures due to accidentally running on non-ARMv8 hardware - the target check
arm_v8_neon_ok is correct for compilation tests but should be arm_v8_neon_hw
for execution tests.  Fix this and also change arm_v8_neon_hw to return
true for AArch64 so these tests are run on AArch64 too.

    gcc/testsuite/
* gcc.target/aarch64/advsimd-intrinsics/vrnd.c
(dg-require-effective-target): Use arm_v8_neon_hw.
* gcc.target/aarch64/advsimd-intrinsics/vrnda.c
(dg-require-effective-target): Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vrndm.c
(dg-require-effective-target): Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vrndn.c
(dg-require-effective-target): Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vrndp.c
(dg-require-effective-target): Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vrndx.c
(dg-require-effective-target): Likewise.
* lib/target-supports.exp (check_runtime arm_v8_neon_hw_available):
Add AArch64 check.

From-SVN: r237653
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vrnd.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vrnda.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vrndm.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vrndn.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vrndp.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vrndx.c
gcc/testsuite/lib/target-supports.exp