diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-14 10:31:09 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-14 10:31:09 +0530 |
commit | d6752ccd696c71d23cd3df8fb9cc60b61c32e65a (patch) | |
tree | 7fc0fe0151bc004056a5002c1b81c92159988085 /sysdeps/x86_64 | |
parent | 70d9946a44ba381f81eb08c71cc150315cc112ad (diff) | |
download | glibc-d6752ccd696c71d23cd3df8fb9cc60b61c32e65a.tar glibc-d6752ccd696c71d23cd3df8fb9cc60b61c32e65a.tar.gz glibc-d6752ccd696c71d23cd3df8fb9cc60b61c32e65a.tar.bz2 glibc-d6752ccd696c71d23cd3df8fb9cc60b61c32e65a.zip |
New __sqr function as a faster special case of __mul
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/mpa-avx.c | 1 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/mpa-fma4.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/mpa-avx.c b/sysdeps/x86_64/fpu/multiarch/mpa-avx.c index d3f4d7ab2e..366b0b7134 100644 --- a/sysdeps/x86_64/fpu/multiarch/mpa-avx.c +++ b/sysdeps/x86_64/fpu/multiarch/mpa-avx.c @@ -1,5 +1,6 @@ #define __add __add_avx #define __mul __mul_avx +#define __sqr __sqr_avx #define __sub __sub_avx #define __dbl_mp __dbl_mp_avx #define __dvd __dvd_avx diff --git a/sysdeps/x86_64/fpu/multiarch/mpa-fma4.c b/sysdeps/x86_64/fpu/multiarch/mpa-fma4.c index 6abb671b59..a4a759407e 100644 --- a/sysdeps/x86_64/fpu/multiarch/mpa-fma4.c +++ b/sysdeps/x86_64/fpu/multiarch/mpa-fma4.c @@ -1,5 +1,6 @@ #define __add __add_fma4 #define __mul __mul_fma4 +#define __sqr __sqr_fma4 #define __sub __sub_fma4 #define __dbl_mp __dbl_mp_fma4 #define __dvd __dvd_fma4 |