diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-10-04 10:53:59 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-10-04 10:53:59 -0700 |
commit | 7f2e6e89fa86e15096f02e02a1af25a6f05ddcc0 (patch) | |
tree | d118d8fcb319234510c440769b4f91b5d66f869d /sysdeps/x86_64/fpu/multiarch/mpa-avx.c | |
parent | f57f805541562734a40088b8be93e3bc9e86be54 (diff) | |
download | glibc-hjl/pr14654.tar.gz glibc-hjl/pr14654.tar.xz glibc-hjl/pr14654.zip |
Extract __mul from sysdeps/ieee754/dbl-64/mpa.c hjl/pr14654
Compile __mul with both AVX and FMA4. Compile other functions only with AVX since they don't benefit from FMA4.
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/mpa-avx.c')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/mpa-avx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/mpa-avx.c b/sysdeps/x86_64/fpu/multiarch/mpa-avx.c index a92dbedc05..90d93e87f9 100644 --- a/sysdeps/x86_64/fpu/multiarch/mpa-avx.c +++ b/sysdeps/x86_64/fpu/multiarch/mpa-avx.c @@ -1,5 +1,4 @@ #define __add __add_avx -#define __mul __mul_avx #define __sub __sub_avx #define __dbl_mp __dbl_mp_avx #define __dvd __dvd_avx @@ -7,6 +6,7 @@ #define NO___CPY 1 #define NO___MP_DBL 1 #define NO___ACR 1 +#define NO___MUL 1 #define SECTION __attribute__ ((section (".text.avx"))) #include <sysdeps/ieee754/dbl-64/mpa.c> |