[Gmp-commit] /var/hg/gmp-6.2: (x86 umul_ppmm): Fix typo.

mercurial at gmplib.org mercurial at gmplib.org
Tue Sep 22 09:27:43 UTC 2020


details:   /var/hg/gmp-6.2/rev/f1b373b126e2
changeset: 18079:f1b373b126e2
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue Sep 22 11:27:39 2020 +0200
description:
(x86 umul_ppmm): Fix typo.

diffstat:

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

diffs (12 lines):

diff -r 0ec09ebea62d -r f1b373b126e2 longlong.h
--- a/longlong.h	Mon Sep 21 00:35:51 2020 +0200
+++ b/longlong.h	Tue Sep 22 11:27:39 2020 +0200
@@ -1054,7 +1054,7 @@
    && (HAVE_HOST_CPU_haswell || HAVE_HOST_CPU_broadwell \
        || HAVE_HOST_CPU_skylake || HAVE_HOST_CPU_bd4 || HAVE_HOST_CPU_zen)
 #define umul_ppmm(w1, w0, u, v) \
-  __asm__ ("mulx\t%3, %0, %1"						\
+  __asm__ ("mulx\t%3, %q0, %q1"						\
 	   : "=r" (w0), "=r" (w1)					\
 	   : "%d" ((UDItype)(u)), "rm" ((UDItype)(v)))
 #else



More information about the gmp-commit mailing list