about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/x86_64/fpu/multiarch/e_pow.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/x86_64/fpu/multiarch/e_pow.c')
-rw-r--r--REORG.TODO/sysdeps/x86_64/fpu/multiarch/e_pow.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/x86_64/fpu/multiarch/e_pow.c b/REORG.TODO/sysdeps/x86_64/fpu/multiarch/e_pow.c
new file mode 100644
index 0000000000..a5c5d89c3e
--- /dev/null
+++ b/REORG.TODO/sysdeps/x86_64/fpu/multiarch/e_pow.c
@@ -0,0 +1,17 @@
+#include <init-arch.h>
+#include <math.h>
+#include <math_private.h>
+
+extern double __ieee754_pow_sse2 (double, double);
+extern double __ieee754_pow_fma4 (double, double);
+
+libm_ifunc (__ieee754_pow,
+	    HAS_ARCH_FEATURE (FMA4_Usable)
+	    ? __ieee754_pow_fma4
+	    : __ieee754_pow_sse2);
+strong_alias (__ieee754_pow, __pow_finite)
+
+#define __ieee754_pow __ieee754_pow_sse2
+
+
+#include <sysdeps/ieee754/dbl-64/e_pow.c>