summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorTorbjorn Granlund <torbjorng@google.com>2014-12-22 00:11:10 +0100
committerTorbjorn Granlund <torbjorng@google.com>2014-12-22 00:11:10 +0100
commit19d5e544172a4cdccde409b939e5e06535df7653 (patch)
tree3c5e0f02047e4998a2938d19377d3eb4ba0cac45 /longlong.h
parent4a030303b957fdbd142e6cecd33e77b3b5fa9f48 (diff)
downloadgmp-19d5e544172a4cdccde409b939e5e06535df7653.tar.gz
(mips64): Work around one clang bug.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/longlong.h b/longlong.h
index fcec17245..16f10eb3f 100644
--- a/longlong.h
+++ b/longlong.h
@@ -1255,7 +1255,7 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype);
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