diff options
19 files changed, 119 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c new file mode 100644 index 0000000000..c1703928a5 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __ceil, ceill, GLIBC_2_0); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c new file mode 100644 index 0000000000..dec9862875 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c @@ -0,0 +1,18 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c> +weak_alias (__finite, ___finite) +#ifdef IS_IN_libm +# if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __finite, __finitel, GLIBC_2_1); +# endif +# if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, ___finite, finitel, GLIBC_2_0); +# endif +#else +# if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libm, __finite, __finitel, GLIBC_2_0); +# endif +# if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libc, ___finite, finitel, GLIBC_2_0); +# endif +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c new file mode 100644 index 0000000000..f29c946c97 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __floor, floorl, GLIBC_2_0); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c new file mode 100644 index 0000000000..3372c47f05 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c @@ -0,0 +1,9 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c> +#ifdef IS_IN_libm +# if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __frexp, frexpl, GLIBC_2_0); +# endif +#elif LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libc, __frexp, frexpl, GLIBC_2_0); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c new file mode 100644 index 0000000000..085113669a --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c @@ -0,0 +1,8 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c> +#ifndef IS_IN_libm +# if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libc, __isinf, __isinfl, GLIBC_2_0); +compat_symbol (libc, isinf, isinfl, GLIBC_2_0); +# endif +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c new file mode 100644 index 0000000000..d4a60505e8 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c @@ -0,0 +1,8 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c> +#ifndef IS_IN_libm +# if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libc, __isnan, __isnanl, GLIBC_2_0); +compat_symbol (libc, isnan, isnanl, GLIBC_2_0); +# endif +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c new file mode 100644 index 0000000000..438cd0fabf --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c @@ -0,0 +1,6 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __llround, llroundl, GLIBC_2_1); +compat_symbol (libm, __lround, lroundl, GLIBC_2_1); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c new file mode 100644 index 0000000000..6fa7834f04 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __logb, logbl, GLIBC_2_0); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c new file mode 100644 index 0000000000..1e06fcb16e --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c @@ -0,0 +1 @@ +/* The code is the same as llround. Use an alias, see s_llround.c. */ diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c new file mode 100644 index 0000000000..50e793d302 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c @@ -0,0 +1,9 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c> +#ifdef IS_IN_libm +# if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __modf, modfl, GLIBC_2_0); +# endif +#elif LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libc, __modf, modfl, GLIBC_2_0); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c new file mode 100644 index 0000000000..abbce7ce63 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c new file mode 100644 index 0000000000..c627d0b09e --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __remquo, remquol, GLIBC_2_1); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c new file mode 100644 index 0000000000..9099a73d1d --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __rint, rintl, GLIBC_2_0); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c new file mode 100644 index 0000000000..37f1620241 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_round.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __round, roundl, GLIBC_2_1); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c new file mode 100644 index 0000000000..dc70658e66 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c @@ -0,0 +1,9 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c> +#ifdef IS_IN_libm +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __scalbln, scalblnl, GLIBC_2_1); +#endif +#elif LONG_DOUBLE_COMPAT(libc, GLIBC_2_1) +compat_symbol (libc, __scalbln, scalblnl, GLIBC_2_1); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c new file mode 100644 index 0000000000..e74170a1c3 --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c @@ -0,0 +1,9 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c> +#ifdef IS_IN_libm +# if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __scalbn, scalbnl, GLIBC_2_0); +# endif +#elif LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libc, __scalbn, scalbnl, GLIBC_2_0); +#endif diff --git a/sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c new file mode 100644 index 0000000000..b37b52b47f --- /dev/null +++ b/sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c> +#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) +compat_symbol (libm, __trunc, truncl, GLIBC_2_1); +#endif diff --git a/sysdeps/powerpc/powerpc64/Implies b/sysdeps/powerpc/powerpc64/Implies index a8cae95f9d..7603c9859c 100644 --- a/sysdeps/powerpc/powerpc64/Implies +++ b/sysdeps/powerpc/powerpc64/Implies @@ -1 +1,2 @@ wordsize-64 +ieee754/dbl-64/wordsize-64 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies index 8d91c80097..d68b54b6ee 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies @@ -1 +1,2 @@ unix/sysv/linux/wordsize-64 +ieee754/ldbl-opt/wordsize-64 |