mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
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.
This commit is contained in:
parent
f7bb179f77
commit
32999d63fd
@ -1,3 +1,9 @@
|
||||
2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
|
||||
macro.
|
||||
[copysignf]: Likewise.
|
||||
|
||||
2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* crypt/md5-crypt.c: Fix formatting.
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user