diff options
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/e_pow-fma.c | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/e_pow.c | 4 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/w_pow.c | 1 |
4 files changed, 8 insertions, 5 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/e_pow-fma.c b/sysdeps/x86_64/fpu/multiarch/e_pow-fma.c index 73c1e7fb89..2c5bfaeed7 100644 --- a/sysdeps/x86_64/fpu/multiarch/e_pow-fma.c +++ b/sysdeps/x86_64/fpu/multiarch/e_pow-fma.c @@ -1,5 +1,5 @@ -#define __ieee754_pow __ieee754_pow_fma -#define __exp1 __exp1_fma +#include <math.h> +#define __pow __ieee754_pow_fma #define SECTION __attribute__ ((section (".text.fma"))) #include <sysdeps/ieee754/dbl-64/e_pow.c> diff --git a/sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c b/sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c index 8971b655ca..7ec1a0ac84 100644 --- a/sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c +++ b/sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c @@ -1,5 +1,5 @@ -#define __ieee754_pow __ieee754_pow_fma4 -#define __exp1 __exp1_fma4 +#include <math.h> +#define __pow __ieee754_pow_fma4 #define SECTION __attribute__ ((section (".text.fma4"))) #include <sysdeps/ieee754/dbl-64/e_pow.c> diff --git a/sysdeps/x86_64/fpu/multiarch/e_pow.c b/sysdeps/x86_64/fpu/multiarch/e_pow.c index 084073c936..207ffcd2f1 100644 --- a/sysdeps/x86_64/fpu/multiarch/e_pow.c +++ b/sysdeps/x86_64/fpu/multiarch/e_pow.c @@ -16,6 +16,8 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#include <math.h> + extern double __redirect_ieee754_pow (double, double); #define SYMBOL_NAME ieee754_pow @@ -25,5 +27,5 @@ libc_ifunc_redirected (__redirect_ieee754_pow, __ieee754_pow, IFUNC_SELECTOR ()); strong_alias (__ieee754_pow, __pow_finite) -#define __ieee754_pow __ieee754_pow_sse2 +#define __pow __ieee754_pow_sse2 #include <sysdeps/ieee754/dbl-64/e_pow.c> diff --git a/sysdeps/x86_64/fpu/multiarch/w_pow.c b/sysdeps/x86_64/fpu/multiarch/w_pow.c new file mode 100644 index 0000000000..b50c1988de --- /dev/null +++ b/sysdeps/x86_64/fpu/multiarch/w_pow.c @@ -0,0 +1 @@ +#include <sysdeps/../math/w_pow.c> |