This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]