This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Remove configure tests for FMA4 support
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 9 Oct 2015 08:59:36 -0700
- Subject: Re: Remove configure tests for FMA4 support
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1510091510470 dot 20476 at digraph dot polyomino dot org dot uk>
On Fri, Oct 9, 2015 at 8:13 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> GCC added support for -mfma4 in version 4.5. Thus the configure tests
> for this support are obsolete, and this patch removes them.
>
> Tested for x86_64 and x86 (testsuite, and that installed stripped
> shared libraries are unchanged by this patch).
>
> 2015-10-09 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
> test.
> * sysdeps/i386/configure: Regenerated.
> * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
> test.
> * sysdeps/x86_64/configure: Regenerated.
> * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
> Make code unconditional.
> * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
> Likewise.
> * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
> Likewise.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
> code unconditional.
> [!HAVE_FMA4_SUPPORT]: Remove conditional code.
> * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
>
OK.
Thanks.
--
H.J.