aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-05-22 15:54:41 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-05-22 16:05:19 -0500
commit32999d63fd5b37d14972fc128502ad212df4f056 (patch)
tree6e8bda0eaf2985fc35f4bd26354c3bad77e00cd0 /sysdeps/powerpc/fpu
parentf7bb179f77d131e2fc1bf0bc17f9e5748eaf058e (diff)
downloadglibc-32999d63fd5b37d14972fc128502ad212df4f056.tar
glibc-32999d63fd5b37d14972fc128502ad212df4f056.tar.gz
glibc-32999d63fd5b37d14972fc128502ad212df4f056.tar.bz2
glibc-32999d63fd5b37d14972fc128502ad212df4f056.zip
PowerPC: Remove unneeded copysign[f] macros
This patch remove the unneeded copysign[f] macro from powerpc math_private.h, since they are already covered in generic version.
Diffstat (limited to 'sysdeps/powerpc/fpu')
-rw-r--r--sysdeps/powerpc/fpu/math_private.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/sysdeps/powerpc/fpu/math_private.h b/sysdeps/powerpc/fpu/math_private.h
index 1ec48810fa..b664be3f80 100644
--- a/sysdeps/powerpc/fpu/math_private.h
+++ b/sysdeps/powerpc/fpu/math_private.h
@@ -151,31 +151,4 @@ __ieee754_sqrtf (float __x)
#endif /* defined _ARCH_PWR5X */
-
-#if defined _ARCH_PWR6
-
-# ifndef __copysign
-# define __copysign(x, y) \
- ({ double __z; \
- __asm __volatile ( \
- " fcpsgn %0,%1,%2\n" \
- : "=f" (__z) \
- : "f" (y), "f" (x)); \
- __z; })
-# endif
-# ifndef __copysignf
-# define __copysignf(x, y) \
- ({ float __z; \
- float __x = x; \
- float __y = y; \
- __asm __volatile ( \
- " fcpsgn %0,%1,%2\n" \
- " frsp %0,%0\n" \
- : "=f" (__z) \
- : "f" (__y), "f" (__x));\
- __z; })
-# endif
-
-#endif /* defined _ARCH_PWR6 */
-
#endif /* _PPC_MATH_PRIVATE_H_ */