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

H.J. Lu hjl.tools@gmail.com
Mon Aug 7 15:12:00 GMT 2017


On Mon, Aug 7, 2017 at 7:17 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> 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.
>

Updated.  I am checking in this.

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-64-Add-FMA-multiarch-functions-to-libm.patch
Type: text/x-patch
Size: 37434 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170807/a7475023/attachment.bin>


More information about the Libc-alpha mailing list