]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Exclude FMA4 IFUNC functions for -mapxf
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Apr 2024 22:43:50 +0000 (15:43 -0700)
committerSunil K Pandey <skpgkp2@gmail.com>
Thu, 20 Mar 2025 00:30:18 +0000 (17:30 -0700)
commit7ecf0d3bde54e4f9e6f025d2f43eff565ed97414
tree0eea2898f6b7773c70ca718a955874744b939529
parente1fe22368e4fbc13ce300d89802b7fcc0d5cfb38
x86-64: Exclude FMA4 IFUNC functions for -mapxf

When -mapxf is used to build glibc, the resulting glibc will never run
on FMA4 machines.  Exclude FMA4 IFUNC functions when -mapxf is used.
This requires GCC which defines __APX_F__ for -mapxf with commit:

1df56719bd8 x86: Define __APX_F__ for -mapxf

Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
(cherry picked from commit 9e1f4aef865ddeffeb4b5f6578fefab606783120)
config.h.in
sysdeps/x86_64/configure
sysdeps/x86_64/configure.ac
sysdeps/x86_64/fpu/multiarch/Makefile
sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h
sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h