diff options
author | Liubov Dmitrieva <liubov.dmitrieva@gmail.com> | 2012-09-25 20:44:46 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-09-25 20:47:20 +0200 |
commit | 22bf5c179315edd33b8399102ea3cfbf92b4807f (patch) | |
tree | f3ad1237a434e51a9155821f9c9848e0b13236ba /sysdeps/ieee754 | |
parent | 6d3bf1993190edc502d01e8ca42c4482b20a5b6c (diff) | |
download | glibc-22bf5c179315edd33b8399102ea3cfbf92b4807f.tar.gz glibc-22bf5c179315edd33b8399102ea3cfbf92b4807f.tar.xz glibc-22bf5c179315edd33b8399102ea3cfbf92b4807f.zip |
Add optimized sincosf for SSE2 for x86 and x86-64
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/flt-32/s_sincosf.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/ieee754/flt-32/s_sincosf.c b/sysdeps/ieee754/flt-32/s_sincosf.c index 1b4d000e11..c3bd998ab7 100644 --- a/sysdeps/ieee754/flt-32/s_sincosf.c +++ b/sysdeps/ieee754/flt-32/s_sincosf.c @@ -21,9 +21,14 @@ #include <math_private.h> +#ifndef SINCOSF +# define SINCOSF_FUNC __sincosf +#else +# define SINCOSF_FUNC SINCOSF +#endif void -__sincosf (float x, float *sinx, float *cosx) +SINCOSF_FUNC (float x, float *sinx, float *cosx) { int32_t ix; @@ -70,4 +75,7 @@ __sincosf (float x, float *sinx, float *cosx) } } } + +#ifndef SINCOSF weak_alias (__sincosf, sincosf) +#endif |