From 5175759c4908dc4a8c105a4b3990d472803bb91b Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Fri, 17 Aug 2018 16:51:32 +0100 Subject: Ensure HAVE_FAST_FMA is set on AArch64 If math.h doesn't set FP_FAST_FMA correctly, ensure HAVE_FAST_FMA is set on AArch64. --- math/math_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math/math_config.h') diff --git a/math/math_config.h b/math/math_config.h index ce6fac8..ddac41c 100644 --- a/math/math_config.h +++ b/math/math_config.h @@ -56,7 +56,7 @@ /* Compiler can inline fma as a single instruction. */ #ifndef HAVE_FAST_FMA -# ifdef FP_FAST_FMA +# if defined FP_FAST_FMA || __aarch64__ # define HAVE_FAST_FMA 1 # else # define HAVE_FAST_FMA 0 -- cgit v1.2.3