[PATCH 35/59] aarch64: Use NO_MATH_REDIRECT on pow_advsimd.c

Adhemerval Zanella adhemerval.zanella@linaro.org
Fri Oct 17 19:13:10 GMT 2025


clang does not optimize the fma calls, instead issuing __fma.
---
 sysdeps/aarch64/fpu/pow_advsimd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/aarch64/fpu/pow_advsimd.c b/sysdeps/aarch64/fpu/pow_advsimd.c
index e5bb4f0306..6437df411a 100644
--- a/sysdeps/aarch64/fpu/pow_advsimd.c
+++ b/sysdeps/aarch64/fpu/pow_advsimd.c
@@ -17,6 +17,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#define NO_MATH_REDIRECT
 #include "v_math.h"
 
 /* Defines parameters of the approximation and scalar fallback.  */
-- 
2.43.0



More information about the Libc-alpha mailing list