[Bug math/31335] Compile glibc with -march=x86-64-v3 should disable FMA4 multi-arch version
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Sun Feb 25 23:17:08 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=31335
--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sunil Pandey <skpgkp2@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9f78a7c1d0963282608da836b840f0d5ae1c478e
commit 9f78a7c1d0963282608da836b840f0d5ae1c478e
Author: Sunil K Pandey <skpgkp2@gmail.com>
Date: Tue Feb 13 12:23:14 2024 -0800
x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
When glibc is built with ISA level 3 or higher by default, the resulting
glibc binaries won't run on SSE or FMA4 processors. Exclude SSE, AVX and
FMA4 variants in libm multiarch when ISA level 3 or higher is enabled by
default.
When glibc is built with ISA level 2 enabled by default, only keep SSE4.1
variant.
Fixes BZ 31335.
NB: elf/tst-valgrind-smoke test fails with ISA level 4, because valgrind
doesn't support AVX512 instructions:
https://bugs.kde.org/show_bug.cgi?id=383010
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list