This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Fix generic INSERT_WORDS64() argument order.
- From: David Miller <davem at davemloft dot net>
- To: libc-alpha at sourceware dot org
- Cc: drepper at redhat dot com
- Date: Wed, 03 Mar 2010 03:32:33 -0800 (PST)
- Subject: [PATCH] Fix generic INSERT_WORDS64() argument order.
I ran into this while testing a patch which enables the new
dbl-64/wordsize-64 math code on sparc64. x86_64, the one platform
that currently enables it, has an override for this macro which gets
the argument ordering right.
Any objections?
2010-03-03 David S. Miller <davem@davemloft.net>
* math/math_private.h (INSERT_WORDS64): Fix argument order.
diff --git a/math/math_private.h b/math/math_private.h
index fade7e1..e5ca61f 100644
--- a/math/math_private.h
+++ b/math/math_private.h
@@ -111,7 +111,7 @@ do { \
} while (0)
/* Get all in one, efficient on 64-bit machines. */
-#define INSERT_WORDS64(i,d) \
+#define INSERT_WORDS64(d,i) \
do { \
ieee_double_shape_type iw_u; \
iw_u.word = (i); \