summaryrefslogtreecommitdiff
path: root/libc/sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c')
-rw-r--r--libc/sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c b/libc/sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c
new file mode 100644
index 000000000..07ca6e9ad
--- /dev/null
+++ b/libc/sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c
@@ -0,0 +1,9 @@
+#define __mpexp __mpexp_fma4
+#define __add __add_fma4
+#define __dbl_mp __dbl_mp_fma4
+#define __dvd __dvd_fma4
+#define __mul __mul_fma4
+#define AVOID_MPEXP_H 1
+#define SECTION __attribute__ ((section (".text.fma4")))
+
+#include <sysdeps/ieee754/dbl-64/mpexp.c>