[Gmp-commit] /var/hg/gmp: (powerpc64): Enable asm-free umul_ppmm.

mercurial at gmplib.org mercurial at gmplib.org
Mon Mar 6 01:53:31 UTC 2017


details:   /var/hg/gmp/rev/a7749cbb2d7b
changeset: 17322:a7749cbb2d7b
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Mon Mar 06 02:52:17 2017 +0100
description:
(powerpc64): Enable asm-free umul_ppmm.

diffstat:

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

diffs (12 lines):

diff -r 2a15e30a93c5 -r a7749cbb2d7b longlong.h
--- a/longlong.h	Sun Mar 05 02:55:35 2017 +0100
+++ b/longlong.h	Mon Mar 06 02:52:17 2017 +0100
@@ -1528,7 +1528,7 @@
 #define count_leading_zeros(count, x) \
   __asm__ ("cntlzd %0,%1" : "=r" (count) : "r" (x))
 #define COUNT_LEADING_ZEROS_0 64
-#if 0 && __GMP_GNUC_PREREQ (4,4) /* Disable, this results in libcalls! */
+#if __GMP_GNUC_PREREQ (4,8)
 #define umul_ppmm(w1, w0, u, v) \
   do {									\
     typedef unsigned int __ll_UTItype __attribute__((mode(TI)));	\


More information about the gmp-commit mailing list