This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] Remove usage of ONE from powerpc mpa-arch.h
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 29 Mar 2013 16:55:54 +0530
- Subject: [COMMITTED] Remove usage of ONE from powerpc mpa-arch.h
Hi,
I had missed this in my last patch, which caused a build failure in
powerpc. Pushed as obvious after verifying that the build completes
successfully.
Siddhesh
commit 0d1029de128ad2afd4a7b13a0805aea8fdb82e37
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Fri Mar 29 16:53:05 2013 +0530
Remove usage of ONE macro
I missed this instance, which caused a build failure in powerpc.
diff --git a/ChangeLog b/ChangeLog
index 59797b9..8f3ba6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
+ ONE with its value.
+
* sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
(__pow_mp): Replace ONE and MONE with their values.
* sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
diff --git a/sysdeps/powerpc/power4/fpu/mpa-arch.h b/sysdeps/powerpc/power4/fpu/mpa-arch.h
index 9007c9d..43175bb 100644
--- a/sysdeps/powerpc/power4/fpu/mpa-arch.h
+++ b/sysdeps/powerpc/power4/fpu/mpa-arch.h
@@ -40,7 +40,7 @@ typedef double mantissa_store_t;
({ \
double u = ((x) + TWO52) - TWO52; \
if (u > (x)) \
- u -= ONE; \
+ u -= 1; \
(r) = u; \
(x) -= u; \
})