advsimd-intrinsics.exp: Skip tests if target does not support Neon.

2014-11-05  Christophe Lyon  <christophe.lyon@linaro.org>

	* gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp:
	Skip tests if target does not support Neon.

From-SVN: r217134
This commit is contained in:
Christophe Lyon 2014-11-05 15:22:28 +00:00 committed by Christophe Lyon
parent e3e596ed32
commit d80b40be2f
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-11-05 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp:
Skip tests if target does not support Neon.
2014-11-05 Christophe Lyon <christophe.lyon@linaro.org>
* lib/target-supports.exp (check_effective_target_bswap): Update

View file

@ -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