aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/NEMath.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/NEON/NEMath.inl')
-rw-r--r--src/core/NEON/NEMath.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/NEON/NEMath.inl b/src/core/NEON/NEMath.inl
index 6198a257fc..1cbe669373 100644
--- a/src/core/NEON/NEMath.inl
+++ b/src/core/NEON/NEMath.inl
@@ -52,11 +52,11 @@ constexpr float te_sin_coeff5 = 0.013888888889f; // 1/(8*9)
#ifndef DOXYGEN_SKIP_THIS
inline float32x4_t prefer_vfmaq_f32(float32x4_t a, float32x4_t b, float32x4_t c)
{
-#ifdef __aarch64__
+#if __ARM_FEATURE_FMA
return vfmaq_f32(a, b, c);
-#else // __aarch64__
+#else // __ARM_FEATURE_FMA
return vmlaq_f32(a, b, c);
-#endif // __aarch64__
+#endif // __ARM_FEATURE_FMA
}
inline float32x4_t vfloorq_f32(float32x4_t val)