[PATCH] x86-64: Add FMA multiarch functions to libm

Joseph Myers joseph@codesourcery.com
Mon Aug 7 14:17:00 GMT 2017


On Sun, 6 Aug 2017, H.J. Lu wrote:

> +# FMA is disabled due to [BZ #19003].
> +CFLAGS-e_pow-fma.c = -mno-fma -mavx2

That's not correct.  You should use -mfma -mavx2 $(config-cflags-nofma), 
so that fma is used for code explicitly wanting a fused operation (via 
DLA_FMS), but not implicitly via contraction.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list