[Gmp-commit] /var/hg/gmp: longlong.h: Fix obsolete ARC asm constraints
mercurial at gmplib.org
mercurial at gmplib.org
Wed Aug 24 22:01:16 UTC 2016
details: /var/hg/gmp/rev/58879634af3c
changeset: 17071:58879634af3c
user: Marc Glisse <marc.glisse at inria.fr>
date: Thu Aug 25 00:00:43 2016 +0200
description:
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 f9a7bfced8d0 -r 58879634af3c ChangeLog
--- a/ChangeLog Mon Aug 22 23:15:56 2016 +0200
+++ b/ChangeLog Thu Aug 25 00:00:43 2016 +0200
@@ -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-08-22 Marc Glisse <marc.glisse at inria.fr>
* longlong.h (umul_ppmm from __umulsidi3): Protect with do ...
diff -r f9a7bfced8d0 -r 58879634af3c longlong.h
--- a/longlong.h Mon Aug 22 23:15:56 2016 +0200
+++ b/longlong.h Thu Aug 25 00:00:43 2016 +0200
@@ -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