[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sun Dec 21 23:11:19 UTC 2014


details:   /var/hg/gmp/rev/f82c4689ac9f
changeset: 16540:f82c4689ac9f
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Dec 22 00:11:10 2014 +0100
description:
(mips64): Work around one clang bug.

details:   /var/hg/gmp/rev/4114b2634856
changeset: 16541:4114b2634856
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Dec 22 00:11:15 2014 +0100
description:
ChangeLog

diffstat:

 ChangeLog  |  4 ++++
 longlong.h |  2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 17d9306d0645 -r 4114b2634856 ChangeLog
--- a/ChangeLog	Thu Dec 18 09:14:57 2014 +0100
+++ b/ChangeLog	Mon Dec 22 00:11:15 2014 +0100
@@ -1,3 +1,7 @@
+2014-12-22  Torbjörn Granlund  <torbjorng at google.com>
+
+	* longlong.h (mips64): Work around one clang bug.
+
 2014-12-18  Torbjörn Granlund  <torbjorng at google.com>
 
 	* longlong.h (umul_ppmm): Use input temps in more places.
diff -r 17d9306d0645 -r 4114b2634856 longlong.h
--- a/longlong.h	Thu Dec 18 09:14:57 2014 +0100
+++ b/longlong.h	Mon Dec 22 00:11:15 2014 +0100
@@ -1255,7 +1255,7 @@
     w0 = __ll;								\
   } while (0)
 #endif
-#if !defined (umul_ppmm) && __GMP_GNUC_PREREQ (2,7)
+#if !defined (umul_ppmm) && __GMP_GNUC_PREREQ (2,7) && !defined (__clang__)
 #define umul_ppmm(w1, w0, u, v) \
   __asm__ ("dmultu %2,%3" : "=l" (w0), "=h" (w1) : "d" (u), "d" (v))
 #endif


More information about the gmp-commit mailing list