From 388a5b26893e35fae82423a99984896846ddb9fb Mon Sep 17 00:00:00 2001 From: clyon Date: Wed, 5 Nov 2014 15:22:28 +0000 Subject: [PATCH] 2014-11-05 Christophe Lyon * gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: Skip tests if target does not support Neon. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217134 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ .../gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 46f62b61aa5..9dea355cd68 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2014-11-05 Christophe Lyon + * gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: + Skip tests if target does not support Neon. + +2014-11-05 Christophe Lyon + * lib/target-supports.exp (check_effective_target_bswap): Update conditions for AArch64 and ARM targets. diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp index 3aa0e1c90e2..938086b23da 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp @@ -32,6 +32,11 @@ load_lib torture-options.exp dg-init +if {[istarget arm*-*-*] + && ![check_effective_target_arm_neon_ok]} then { + return +} + torture-init set-torture-options $C_TORTURE_OPTIONS {{}} $LTO_TORTURE_OPTIONS -- 2.11.4.GIT