Commit 60add66b by Kyrylo Tkachov Committed by Kyrylo Tkachov

[ARM] Error out of arm_neon.h if compiling for soft-float ABI

	* config/arm/arm_neon.h: Show error if using with soft-float ABI.

From-SVN: r234023
parent 41604008
2016-03-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm_neon.h: Show error if using with soft-float ABI.
2016-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2016-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/62281 PR target/62281
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#ifndef _GCC_ARM_NEON_H #ifndef _GCC_ARM_NEON_H
#define _GCC_ARM_NEON_H 1 #define _GCC_ARM_NEON_H 1
#ifndef __ARM_FP
#error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softp or -mfloat-abi=hard"
#else
#pragma GCC push_options #pragma GCC push_options
#pragma GCC target ("fpu=neon") #pragma GCC target ("fpu=neon")
...@@ -14833,3 +14837,4 @@ vmull_high_p64 (poly64x2_t __a, poly64x2_t __b) ...@@ -14833,3 +14837,4 @@ vmull_high_p64 (poly64x2_t __a, poly64x2_t __b)
#pragma GCC pop_options #pragma GCC pop_options
#endif #endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment