diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-04-05 11:03:42 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-04-07 15:11:56 -0300 |
commit | 4f2146c4f41c409d92441d6365dc3aceaf70c7fe (patch) | |
tree | 81b9c6018718203d94bb48f45712e39ff1915b19 /sysdeps/sparc/sparc32/sparcv9 | |
parent | 0753be0c8a061ff2e20053b25e51c7d4cd497262 (diff) | |
download | glibc-4f2146c4f41c409d92441d6365dc3aceaf70c7fe.tar.gz glibc-4f2146c4f41c409d92441d6365dc3aceaf70c7fe.tar.xz glibc-4f2146c4f41c409d92441d6365dc3aceaf70c7fe.zip |
sparc64: Remove fcopysign{f} implementation
The builtin from generic code generates similar compliant sequence. Checked on sparc64-linux-gnu.
Diffstat (limited to 'sysdeps/sparc/sparc32/sparcv9')
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S | 8 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.c | 5 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.c (renamed from sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S) | 2 |
3 files changed, 6 insertions, 9 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S deleted file mode 100644 index 9aa3486277..0000000000 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S +++ /dev/null @@ -1,8 +0,0 @@ -#include <math_ldbl_opt.h> -#include <libm-alias-double.h> -#define __copysign __copysign_generic -#undef libm_alias_double -#define libm_alias_double(a, b) -#undef compat_symbol -#define compat_symbol(a, b, c, d) -#include <sysdeps/sparc/sparc32/fpu/s_copysign.S> diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.c b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.c new file mode 100644 index 0000000000..3f8cb8d920 --- /dev/null +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.c @@ -0,0 +1,5 @@ +#include <libm-alias-double.h> +#define __copysign __copysign_generic +#undef libm_alias_double +#define libm_alias_double(a, b) +#include <sysdeps/ieee754/dbl-64/s_copysign.c> diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.c index 685027500a..117dbaf088 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.c @@ -2,4 +2,4 @@ #define __copysignf __copysignf_generic #undef libm_alias_float #define libm_alias_float(a, b) -#include <sysdeps/sparc/sparc32/fpu/s_copysignf.S> +#include <sysdeps/ieee754/flt-32/s_copysignf.c> |