[Gmp-commit] /var/hg/gmp: (x86_64 MPN_IORD_U): Use proper asm constraint.

mercurial at gmplib.org mercurial at gmplib.org
Mon Oct 31 22:08:59 UTC 2016


details:   /var/hg/gmp/rev/a1a2870cb3d4
changeset: 17091:a1a2870cb3d4
user:      Oleg Oshmyan <chortos at inbox.lv>
date:      Mon Oct 31 23:00:36 2016 +0100
description:
(x86_64 MPN_IORD_U): Use proper asm constraint.

diffstat:

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

diffs (23 lines):

diff -r 3dcbff36ac6b -r a1a2870cb3d4 ChangeLog
--- a/ChangeLog	Sun Oct 30 22:41:00 2016 +0100
+++ b/ChangeLog	Mon Oct 31 23:00:36 2016 +0100
@@ -1,3 +1,7 @@
+2016-10-31   Oleg Oshmyan  <chortos at inbox.lv>
+
+	* gmp-impl.h (x86_64 MPN_IORD_U): Use proper asm constraint.
+
 2016-10-30  Torbjörn Granlund  <tg at gmplib.org>
 
 	* mpn/Makefile.am (TARG_DIST): Add riscv.
diff -r 3dcbff36ac6b -r a1a2870cb3d4 gmp-impl.h
--- a/gmp-impl.h	Sun Oct 30 22:41:00 2016 +0100
+++ b/gmp-impl.h	Mon Oct 31 23:00:36 2016 +0100
@@ -2688,7 +2688,7 @@
 	   ASM_L(done) ":\n"						\
 	   : "=r" (__ptr_dummy)						\
 	   : "0"  (ptr),						\
-	     "ri" ((mp_limb_t) (incr)), "n" (sizeof(mp_limb_t))		\
+	     "re" ((mp_limb_t) (incr)), "n" (sizeof(mp_limb_t))		\
 	   : "memory");							\
       }									\
   } while (0)


More information about the gmp-commit mailing list