[PATCH v2 20/28] aarch64: Use NO_MATH_REDIRECT on pow_advsimd.c
H.J. Lu
hjl.tools@gmail.com
Tue Oct 28 19:11:54 GMT 2025
On Wed, Oct 29, 2025 at 1:13 AM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> clang does not optimize the fma calls, instead issuing __fma.
What do you mean by that? Did you inline fma call?
> ---
> 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
>
--
H.J.
More information about the Libc-alpha
mailing list