arm_neon.h: Remove #ifndef check on __ARM_NEON.
authorChristian Bruel <christian.bruel@st.com>
Mon, 16 Nov 2015 11:25:02 +0000 (12:25 +0100)
committerChristian Bruel <chrbr@gcc.gnu.org>
Mon, 16 Nov 2015 11:25:02 +0000 (12:25 +0100)
commitae5e29239e28818f807cf11775c95c4243d9a256
tree017bb3f32b14c0dddb7893714577654df57ffe7d
parentb8c7c62b2dbbdf355adb56d8250e68222ae0febb
arm_neon.h: Remove #ifndef check on __ARM_NEON.

2015-11-16  Christian Bruel  <christian.bruel@st.com>

* config/arm/arm_neon.h: Remove #ifndef check on __ARM_NEON.
Replace #ifdef __ARM_FEATURE_CRYPTO, __ARM_FEATURE_FMA, __ARM_FP
with appropriate pragma GCC target.

2015-11-16  Christian Bruel  <christian.bruel@st.com>

* lib/target-supports.exp (check_effective_target_arm_neon_ok_nocache):
 Check __ARM_NEON__ instead of "arm_neon.h.
* gcc.target/arm/attr-neon3.c: New test.
* gcc.target/arm/attr-neon-fp16.c: Likewise

From-SVN: r230411
gcc/ChangeLog
gcc/config/arm/arm_neon.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/attr-neon-fp16.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/attr-neon3.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp