diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-28 14:48:46 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos_odonell@mentor.com> | 2012-05-25 07:05:35 -0400 |
commit | e3d5df796c656c69e60b504eed77cf60a08e18ef (patch) | |
tree | 97fe9e05f0a4e4868eb13d774ad3dd1ff44a9a18 /ChangeLog | |
parent | 7cf8e20d03a43b1375e90d381a16caa2686e4fdf (diff) | |
download | glibc-e3d5df796c656c69e60b504eed77cf60a08e18ef.zip glibc-e3d5df796c656c69e60b504eed77cf60a08e18ef.tar.gz glibc-e3d5df796c656c69e60b504eed77cf60a08e18ef.tar.bz2 |
Use -msse2avx option for x86-64 libm functions
(cherry picked from commit 56f6f6a2403cfa7267cad722597113be35ecf70d)
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -137,6 +137,27 @@ ARENA_TEST says not to. Simplify test for creation of a new arena. Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>. +2012-01-28 Ulrich Drepper <drepper@gmail.com> + + * config.h.in: Define HAVE_SSE2AVX_SUPPORT. + * math/math_private.h: Remove libc_fegetround* and + libc_fesetround*. + * sysdeps/i386/configure.in: Check for -msse2avx. + * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions + also if SSE2AVX is defined. + Remove libc_fegetround* and libc_fesetround*. + * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions + if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead + of HAS_YMM_USABLE. + * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. + + * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions. + 2012-01-28 Chris Metcalf <cmetcalf@tilera.com> * scripts/firstversions.awk: Fix bug in version range handling. |