[Gmp-commit] /var/hg/gmp-6.1: Backport: longlong.h: Fix obsolete ARC asm cons...

mercurial at gmplib.org mercurial at gmplib.org
Tue Nov 29 21:28:13 UTC 2016


details:   /var/hg/gmp-6.1/rev/8e8d01522b2c
changeset: 16953:8e8d01522b2c
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Tue Nov 29 22:28:08 2016 +0100
description:
Backport: longlong.h: Fix obsolete ARC asm constraints

diffstat:

 ChangeLog  |  5 +++++
 longlong.h |  8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r a393efc6c2be -r 8e8d01522b2c ChangeLog
--- a/ChangeLog	Sat Jun 18 21:58:36 2016 +0200
+++ b/ChangeLog	Tue Nov 29 22:28:08 2016 +0100
@@ -1,3 +1,8 @@
+2016-08-24  Vlad Zakharov <vzakhar at synopsys.com>
+
+	* longlong.h (arc add_ssaaaa, sub_ddmmss): Replace obsolete 'J'
+	constraint with 'Cal'.
+
 2016-06-18  Torbjörn Granlund  <tg at gmplib.org>
 
 	* Version 6.1.1 released.
diff -r a393efc6c2be -r 8e8d01522b2c longlong.h
--- a/longlong.h	Sat Jun 18 21:58:36 2016 +0200
+++ b/longlong.h	Tue Nov 29 22:28:08 2016 +0100
@@ -424,17 +424,17 @@
 	   : "=r" (sh),							\
 	     "=&r" (sl)							\
 	   : "r"  ((USItype) (ah)),					\
-	     "rIJ" ((USItype) (bh)),					\
+	     "rICal" ((USItype) (bh)),					\
 	     "%r" ((USItype) (al)),					\
-	     "rIJ" ((USItype) (bl)))
+	     "rICal" ((USItype) (bl)))
 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
   __asm__ ("sub.f\t%1, %4, %5\n\tsbc\t%0, %2, %3"			\
 	   : "=r" (sh),							\
 	     "=&r" (sl)							\
 	   : "r" ((USItype) (ah)),					\
-	     "rIJ" ((USItype) (bh)),					\
+	     "rICal" ((USItype) (bh)),					\
 	     "r" ((USItype) (al)),					\
-	     "rIJ" ((USItype) (bl)))
+	     "rICal" ((USItype) (bl)))
 #endif
 
 #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \


More information about the gmp-commit mailing list