diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-10-17 11:23:40 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-10-17 11:23:40 -0400 |
commit | ed22dcf691326d148222eb9a215d6d98bb8073a4 (patch) | |
tree | 9a7f83e6295b8ac6610e6637defc66f693ea252c /ChangeLog | |
parent | b171c137687dd4328f756d141d17f30bae750079 (diff) | |
download | glibc-ed22dcf691326d148222eb9a215d6d98bb8073a4.tar glibc-ed22dcf691326d148222eb9a215d6d98bb8073a4.tar.gz glibc-ed22dcf691326d148222eb9a215d6d98bb8073a4.tar.bz2 glibc-ed22dcf691326d148222eb9a215d6d98bb8073a4.zip |
Provide internal optimizations on x86-64 with SSE4.1
Provide macros so that the internal users can, if possible, directly use
the new instructions.
Also fix up the mathinline.h header when compiling with SSE4.1 enabled.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 2011-10-17 Ulrich Drepper <drepper@gmail.com> + * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if + __NO_MATH_INLINES is defined. Cleanups. + + * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor, + and __floorf is target has SSE4.1. + * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first. + * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise. + * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function name. (floorf): Likewise. |