aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-04-15 15:56:08 +0000
committerWerner Koch <[email protected]>2003-04-15 15:56:08 +0000
commit31f5368b22c04efa7f7559d09d52dc5709ec5dc4 (patch)
treee80de10320c94a3d92de62e2a280fa8be23eac4d
parent* g10.c, options.h: New option --enable-progress-filter. (diff)
downloadgnupg-31f5368b22c04efa7f7559d09d52dc5709ec5dc4.tar.gz
gnupg-31f5368b22c04efa7f7559d09d52dc5709ec5dc4.zip
* longlong.h (umul_ppmm): Support SH3 and SH4. Thanks to
-rw-r--r--mpi/ChangeLog5
-rw-r--r--mpi/longlong.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index 7ca083da0..09a37fd82 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-15 Werner Koch <[email protected]>
+
+ * longlong.h (umul_ppmm): Support SH3 and SH4. Thanks to
+
2003-03-24 Werner Koch <[email protected]>
* Makefile.am: Make use of AM_CFLAGS.
diff --git a/mpi/longlong.h b/mpi/longlong.h
index 2976a0e22..8711c70b4 100644
--- a/mpi/longlong.h
+++ b/mpi/longlong.h
@@ -2,7 +2,7 @@
Note: I added some stuff for use with gnupg
Copyright (C) 1991, 1992, 1993, 1994, 1996, 1998,
- 2000, 2001, 2002 Free Software Foundation, Inc.
+ 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as published by
@@ -1034,7 +1034,8 @@ extern USItype __udiv_qrnnd ();
/***************************************
************** SH2 ******************
***************************************/
-#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" \