[Gmp-commit] /var/hg/gmp: Deleted bogus matching constraint in powerpc add_ms...

mercurial at gmplib.org mercurial at gmplib.org
Thu Mar 3 12:37:07 CET 2011


details:   /var/hg/gmp/rev/14cd74efb9de
changeset: 13990:14cd74efb9de
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Thu Mar 03 12:36:39 2011 +0100
description:
Deleted bogus matching constraint in powerpc add_mssaaaa.

diffstat:

 mpn/generic/mod_1_1.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 439c4cd236d7 -r 14cd74efb9de mpn/generic/mod_1_1.c
--- a/mpn/generic/mod_1_1.c	Thu Mar 03 12:32:58 2011 +0100
+++ b/mpn/generic/mod_1_1.c	Thu Mar 03 12:36:39 2011 +0100
@@ -78,8 +78,7 @@
 	 __CLOBBER_CC)
 #endif
 
-/* FIXME: Needs review and/or testing. I don't understand why
-   constraints says s0 (%2) and a0 (%6) must share a register. */
+/* FIXME: Needs review and/or testing.  */
 #if 0 && HAVE_HOST_CPU_FAMILY_powerpc && W_TYPE_SIZE == 64
 #define add_mssaaaa(m, s1, s0, a1, a0, b1, b0)                         \
   __asm__ (								\
@@ -89,7 +88,7 @@
       "	subfic	%0, %0, -1"							\
 	   : "=r" (m), "=r" (s1), "=&r" (s0)                          \
 	   : "r"  ((UDItype)(a1)), "r" ((UDItype)(b1)),                 \
-	     "%2" ((UDItype)(a0)), "rI" ((UDItype)(b0)))
+	     "%r" ((UDItype)(a0)), "rI" ((UDItype)(b0)))
 #endif
 #endif /* defined (__GNUC__) */
 


More information about the gmp-commit mailing list