diff options
Diffstat (limited to 'sysdeps/ieee754/dbl-64')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_fromfp.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_fromfpx.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_getpayload.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_roundeven.c | 8 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_setpayload.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_setpayloadsig.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_totalorder.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_totalordermag.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_ufromfp.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_ufromfpx.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c | 8 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c | 6 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c | 6 |
14 files changed, 58 insertions, 30 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_fromfp.c b/sysdeps/ieee754/dbl-64/s_fromfp.c index 92fbe0c162..efc02f7481 100644 --- a/sysdeps/ieee754/dbl-64/s_fromfp.c +++ b/sysdeps/ieee754/dbl-64/s_fromfp.c @@ -1,7 +1,9 @@ #define UNSIGNED 0 #define INEXACT 0 -#define FUNC fromfp +#define FUNC __fromfp #include <s_fromfp_main.c> +weak_alias (__fromfp, fromfp) #ifdef NO_LONG_DOUBLE -weak_alias (fromfp, fromfpl) +strong_alias (__fromfp, __fromfpl) +weak_alias (__fromfp, fromfpl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_fromfpx.c b/sysdeps/ieee754/dbl-64/s_fromfpx.c index bbfb969813..4451b2d08b 100644 --- a/sysdeps/ieee754/dbl-64/s_fromfpx.c +++ b/sysdeps/ieee754/dbl-64/s_fromfpx.c @@ -1,7 +1,9 @@ #define UNSIGNED 0 #define INEXACT 1 -#define FUNC fromfpx +#define FUNC __fromfpx #include <s_fromfp_main.c> +weak_alias (__fromfpx, fromfpx) #ifdef NO_LONG_DOUBLE -weak_alias (fromfpx, fromfpxl) +strong_alias (__fromfpx, __fromfpxl) +weak_alias (__fromfpx, fromfpxl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_getpayload.c b/sysdeps/ieee754/dbl-64/s_getpayload.c index 63288e0f45..a868109e0a 100644 --- a/sysdeps/ieee754/dbl-64/s_getpayload.c +++ b/sysdeps/ieee754/dbl-64/s_getpayload.c @@ -22,7 +22,7 @@ #include <stdint.h> double -getpayload (const double *x) +__getpayload (const double *x) { uint32_t hx, lx; EXTRACT_WORDS (hx, lx, *x); @@ -32,6 +32,8 @@ getpayload (const double *x) return 0.0f; return (double) ix; } +weak_alias (__getpayload, getpayload) #ifdef NO_LONG_DOUBLE -weak_alias (getpayload, getpayloadl) +strong_alias (__getpayload, __getpayloadl) +weak_alias (__getpayload, getpayloadl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_roundeven.c b/sysdeps/ieee754/dbl-64/s_roundeven.c index 78d81a070c..feb874c336 100644 --- a/sysdeps/ieee754/dbl-64/s_roundeven.c +++ b/sysdeps/ieee754/dbl-64/s_roundeven.c @@ -26,7 +26,7 @@ #define MAX_EXP (2 * BIAS + 1) double -roundeven (double x) +__roundeven (double x) { uint32_t hx, lx, uhx; EXTRACT_WORDS (hx, lx, x); @@ -100,7 +100,9 @@ roundeven (double x) INSERT_WORDS (x, hx, lx); return x; } -hidden_def (roundeven) +hidden_def (__roundeven) +weak_alias (__roundeven, roundeven) #ifdef NO_LONG_DOUBLE -weak_alias (roundeven, roundevenl) +strong_alias (__roundeven, __roundevenl) +weak_alias (__roundeven, roundevenl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_setpayload.c b/sysdeps/ieee754/dbl-64/s_setpayload.c index 5ab70dee73..a37846aa53 100644 --- a/sysdeps/ieee754/dbl-64/s_setpayload.c +++ b/sysdeps/ieee754/dbl-64/s_setpayload.c @@ -1,6 +1,8 @@ #define SIG 0 -#define FUNC setpayload +#define FUNC __setpayload #include <s_setpayload_main.c> +weak_alias (__setpayload, setpayload) #ifdef NO_LONG_DOUBLE -weak_alias (setpayload, setpayloadl) +strong_alias (__setpayload, __setpayloadl) +weak_alias (__setpayload, setpayloadl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_setpayloadsig.c b/sysdeps/ieee754/dbl-64/s_setpayloadsig.c index c3d1ba1e6e..ad1ee7a3f3 100644 --- a/sysdeps/ieee754/dbl-64/s_setpayloadsig.c +++ b/sysdeps/ieee754/dbl-64/s_setpayloadsig.c @@ -1,6 +1,8 @@ #define SIG 1 -#define FUNC setpayloadsig +#define FUNC __setpayloadsig #include <s_setpayload_main.c> +weak_alias (__setpayloadsig, setpayloadsig) #ifdef NO_LONG_DOUBLE -weak_alias (setpayloadsig, setpayloadsigl) +strong_alias (__setpayloadsig, __setpayloadsigl) +weak_alias (__setpayloadsig, setpayloadsigl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_totalorder.c b/sysdeps/ieee754/dbl-64/s_totalorder.c index f229119c27..2504319319 100644 --- a/sysdeps/ieee754/dbl-64/s_totalorder.c +++ b/sysdeps/ieee754/dbl-64/s_totalorder.c @@ -22,7 +22,7 @@ #include <stdint.h> int -totalorder (double x, double y) +__totalorder (double x, double y) { int32_t hx, hy; uint32_t lx, ly; @@ -49,6 +49,8 @@ totalorder (double x, double y) ly ^= hy_sign; return hx < hy || (hx == hy && lx <= ly); } +weak_alias (__totalorder, totalorder) #ifdef NO_LONG_DOUBLE -weak_alias (totalorder, totalorderl) +strong_alias (__totalorder, __totalorderl) +weak_alias (__totalorder, totalorderl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_totalordermag.c b/sysdeps/ieee754/dbl-64/s_totalordermag.c index b1bdd833db..b5f3cff67e 100644 --- a/sysdeps/ieee754/dbl-64/s_totalordermag.c +++ b/sysdeps/ieee754/dbl-64/s_totalordermag.c @@ -22,7 +22,7 @@ #include <stdint.h> int -totalordermag (double x, double y) +__totalordermag (double x, double y) { uint32_t hx, hy; uint32_t lx, ly; @@ -44,6 +44,8 @@ totalordermag (double x, double y) #endif return hx < hy || (hx == hy && lx <= ly); } +weak_alias (__totalordermag, totalordermag) #ifdef NO_LONG_DOUBLE -weak_alias (totalordermag, totalordermagl) +strong_alias (__totalordermag, __totalordermagl) +weak_alias (__totalordermag, totalordermagl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_ufromfp.c b/sysdeps/ieee754/dbl-64/s_ufromfp.c index c3d9047930..f2b9537338 100644 --- a/sysdeps/ieee754/dbl-64/s_ufromfp.c +++ b/sysdeps/ieee754/dbl-64/s_ufromfp.c @@ -1,7 +1,9 @@ #define UNSIGNED 1 #define INEXACT 0 -#define FUNC ufromfp +#define FUNC __ufromfp #include <s_fromfp_main.c> +weak_alias (__ufromfp, ufromfp) #ifdef NO_LONG_DOUBLE -weak_alias (ufromfp, ufromfpl) +strong_alias (__ufromfp, __ufromfpl) +weak_alias (__ufromfp, ufromfpl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_ufromfpx.c b/sysdeps/ieee754/dbl-64/s_ufromfpx.c index dee607f8c0..f360e760e2 100644 --- a/sysdeps/ieee754/dbl-64/s_ufromfpx.c +++ b/sysdeps/ieee754/dbl-64/s_ufromfpx.c @@ -1,7 +1,9 @@ #define UNSIGNED 1 #define INEXACT 1 -#define FUNC ufromfpx +#define FUNC __ufromfpx #include <s_fromfp_main.c> +weak_alias (__ufromfpx, ufromfpx) #ifdef NO_LONG_DOUBLE -weak_alias (ufromfpx, ufromfpxl) +strong_alias (__ufromfpx, __ufromfpxl) +weak_alias (__ufromfpx, ufromfpxl) #endif diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c index fbcd75b8bd..79a62e3e63 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c @@ -21,13 +21,15 @@ #include <stdint.h> double -getpayload (const double *x) +__getpayload (const double *x) { uint64_t ix; EXTRACT_WORDS64 (ix, *x); ix &= 0x7ffffffffffffULL; return (double) ix; } +weak_alias (__getpayload, getpayload) #ifdef NO_LONG_DOUBLE -weak_alias (getpayload, getpayloadl) +strong_alias (__getpayload, __getpayloadl) +weak_alias (__getpayload, getpayloadl) #endif diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c index d13ee25cea..3f7619b5f3 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c @@ -26,7 +26,7 @@ #define MAX_EXP (2 * BIAS + 1) double -roundeven (double x) +__roundeven (double x) { uint64_t ix, ux; EXTRACT_WORDS64 (ix, x); @@ -66,7 +66,9 @@ roundeven (double x) INSERT_WORDS64 (x, ix); return x; } -hidden_def (roundeven) +hidden_def (__roundeven) +weak_alias (__roundeven, roundeven) #ifdef NO_LONG_DOUBLE -weak_alias (roundeven, roundevenl) +strong_alias (__roundeven, __roundevenl) +weak_alias (__roundeven, roundevenl) #endif diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c index 1e8d57f32b..1d2b3d9710 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c @@ -22,7 +22,7 @@ #include <stdint.h> int -totalorder (double x, double y) +__totalorder (double x, double y) { int64_t ix, iy; EXTRACT_WORDS64 (ix, x); @@ -45,6 +45,8 @@ totalorder (double x, double y) iy ^= iy_sign >> 1; return ix <= iy; } +weak_alias (__totalorder, totalorder) #ifdef NO_LONG_DOUBLE -weak_alias (totalorder, totalorderl) +strong_alias (__totalorder, __totalorderl) +weak_alias (__totalorder, totalorderl) #endif diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c index 47a077f18b..94ce11ccc5 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c @@ -22,7 +22,7 @@ #include <stdint.h> int -totalordermag (double x, double y) +__totalordermag (double x, double y) { uint64_t ix, iy; EXTRACT_WORDS64 (ix, x); @@ -42,6 +42,8 @@ totalordermag (double x, double y) #endif return ix <= iy; } +weak_alias (__totalordermag, totalordermag) #ifdef NO_LONG_DOUBLE -weak_alias (totalordermag, totalordermagl) +strong_alias (__totalordermag, __totalordermagl) +weak_alias (__totalordermag, totalordermagl) #endif |