x86-64: Check FMA_Usable in ifunc-mathvec-avx2.h [BZ #21966]
commit098b9dd46814f7e624e42a8844c169f3edc67052
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Aug 2017 13:18:55 +0000 (18 06:18 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Aug 2017 13:19:07 +0000 (18 06:19 -0700)
tree04f0e8e4adc639c0788d8f9ae12e22e1ff9800f7
parent486afa6d27156665959e59b86e7aad18c3832cbe
x86-64: Check FMA_Usable in ifunc-mathvec-avx2.h [BZ #21966]

Since the AVX2 version of mathvec functions uses FMA, it can only be
used when FMA is usable.

[BZ #21966]
* sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
(IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
usable.
ChangeLog
sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h