[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Mon Sep 26 16:29:51 CEST 2011
details: /var/hg/gmp/rev/77adad51e5f4
changeset: 14242:77adad51e5f4
user: Torbjorn Granlund <tege at gmplib.org>
date: Mon Sep 26 16:29:41 2011 +0200
description:
(SH): Recognise predefs for all SH processors as defined by current gcc versions.
details: /var/hg/gmp/rev/b7795ee858fe
changeset: 14243:b7795ee858fe
user: Torbjorn Granlund <tege at gmplib.org>
date: Mon Sep 26 16:29:46 2011 +0200
description:
*** empty log message ***
diffstat:
ChangeLog | 5 +++++
longlong.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r f56a4087c6cd -r b7795ee858fe ChangeLog
--- a/ChangeLog Sun Sep 25 23:20:31 2011 +0200
+++ b/ChangeLog Mon Sep 26 16:29:46 2011 +0200
@@ -1,3 +1,8 @@
+2011-09-26 Torbjorn Granlund <tege at gmplib.org>
+
+ * longlong.h (SH): Recognise predefs for all SH processors as defined
+ by current gcc versions.
+
2011-09-25 Torbjorn Granlund <tege at gmplib.org>
* mpn/sh: Migrate files to '.asm'.
diff -r f56a4087c6cd -r b7795ee858fe longlong.h
--- a/longlong.h Sun Sep 25 23:20:31 2011 +0200
+++ b/longlong.h Mon Sep 26 16:29:46 2011 +0200
@@ -1373,7 +1373,7 @@
} while (0)
#endif /* RT/ROMP */
-#if defined (__sh2__) && W_TYPE_SIZE == 32
+#if (defined (__SH2__) || defined (__SH3__) || defined (__SH4__)) && W_TYPE_SIZE == 32
#define umul_ppmm(w1, w0, u, v) \
__asm__ ("dmulu.l %2,%3\n\tsts macl,%1\n\tsts mach,%0" \
: "=r" (w1), "=r" (w0) : "r" (u), "r" (v) : "macl", "mach")
More information about the gmp-commit
mailing list