about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-04 10:53:59 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-10-04 10:53:59 -0700
commit7f2e6e89fa86e15096f02e02a1af25a6f05ddcc0 (patch)
treed118d8fcb319234510c440769b4f91b5d66f869d /sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c
parentf57f805541562734a40088b8be93e3bc9e86be54 (diff)
downloadglibc-7f2e6e89fa86e15096f02e02a1af25a6f05ddcc0.tar.gz
glibc-7f2e6e89fa86e15096f02e02a1af25a6f05ddcc0.tar.xz
glibc-7f2e6e89fa86e15096f02e02a1af25a6f05ddcc0.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/slowpow-fma4.c')
-rw-r--r--sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c b/sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c
index 69d69823bb..162aaa5d5c 100644
--- a/sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c
+++ b/sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c
@@ -1,10 +1,10 @@
 #define __slowpow __slowpow_fma4
-#define __add __add_fma4
-#define __dbl_mp __dbl_mp_fma4
+#define __add __add_avx
+#define __dbl_mp __dbl_mp_avx
 #define __mpexp __mpexp_fma4
 #define __mplog __mplog_fma4
 #define __mul __mul_fma4
-#define __sub __sub_fma4
+#define __sub __sub_avx
 #define __halfulp __halfulp_fma4
 #define SECTION __attribute__ ((section (".text.fma4")))