diff mbox

[ARM,committed] Fix check for __FAST_MATH in arm_neon.h

Message ID 53A1706D.2080601@arm.com
State New
Headers show

Commit Message

Kyrylo Tkachov June 18, 2014, 10:56 a.m. UTC
Hi all,

All other #ifdefs in arm_neon.h that look for fast math use the 
__FAST_MATH form rather than __FAST_MATH__. They have the same effect 
AFAICS.
This patch fixes the one sticking out.

Committed as obvious with r211779.

Thanks,
Kyrill

2014-06-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH.
diff mbox

Patch

diff --git a/gcc/config/arm/arm_neon.h b/gcc/config/arm/arm_neon.h
index 3e29f44..47f6c5e 100644
--- a/gcc/config/arm/arm_neon.h
+++ b/gcc/config/arm/arm_neon.h
@@ -474,7 +474,7 @@  vadd_s32 (int32x2_t __a, int32x2_t __b)
 __extension__ static __inline float32x2_t __attribute__ ((__always_inline__))
 vadd_f32 (float32x2_t __a, float32x2_t __b)
 {
-#ifdef __FAST_MATH__
+#ifdef __FAST_MATH
   return __a + __b;
 #else
   return (float32x2_t) __builtin_neon_vaddv2sf (__a, __b, 3);