summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/fpu
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-05 11:03:42 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-07 15:11:56 -0300
commit4f2146c4f41c409d92441d6365dc3aceaf70c7fe (patch)
tree81b9c6018718203d94bb48f45712e39ff1915b19 /sysdeps/sparc/sparc32/fpu
parent0753be0c8a061ff2e20053b25e51c7d4cd497262 (diff)
downloadglibc-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/fpu')
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_copysign.S35
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_copysignf.S31
2 files changed, 0 insertions, 66 deletions
diff --git a/sysdeps/sparc/sparc32/fpu/s_copysign.S b/sysdeps/sparc/sparc32/fpu/s_copysign.S
deleted file mode 100644
index 54191b5391..0000000000
--- a/sysdeps/sparc/sparc32/fpu/s_copysign.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/* copysign function, sparc32 version.
-   Copyright (C) 2012-2022 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <https://www.gnu.org/licenses/>.  */
-
-#include <sysdep.h>
-#include <math_ldbl_opt.h>
-#include <libm-alias-double.h>
-
-ENTRY (__copysign)
-	sethi	%hi(0x80000000), %g1
-	and	%o2, %g1, %o4
-	andn	%o0, %g1, %o0
-	or	%o0, %o4, %o0
-	std	%o0, [%sp + 72]
-	retl
-	 ldd	[%sp + 72], %f0
-END (__copysign)
-libm_alias_double (__copysign, copysign)
-#if LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)
-compat_symbol (libc, __copysign, copysignl, GLIBC_2_0);
-#endif
diff --git a/sysdeps/sparc/sparc32/fpu/s_copysignf.S b/sysdeps/sparc/sparc32/fpu/s_copysignf.S
deleted file mode 100644
index ce1acfdb1b..0000000000
--- a/sysdeps/sparc/sparc32/fpu/s_copysignf.S
+++ /dev/null
@@ -1,31 +0,0 @@
-/* float copysign function, sparc32 version.
-   Copyright (C) 2012-2022 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <https://www.gnu.org/licenses/>.  */
-
-#include <sysdep.h>
-#include <libm-alias-float.h>
-
-ENTRY (__copysignf)
-	sethi	%hi(0x80000000), %g1
-	and	%o1, %g1, %o4
-	andn	%o0, %g1, %o0
-	or	%o0, %o4, %o0
-	st	%o0, [%sp + 68]
-	retl
-	 ld	[%sp + 68], %f0
-END (__copysignf)
-libm_alias_float (__copysign, copysign)