1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-25 22:19:59 +01:00

* longlong.h (umul_ppmm): Support SH3 and SH4. Thanks to

kazuya.s@jp.yokogawa.com.
This commit is contained in:
Werner Koch 2003-04-15 15:56:08 +00:00
parent d739d1c9b1
commit 31f5368b22
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-04-15 Werner Koch <wk@gnupg.org>
* longlong.h (umul_ppmm): Support SH3 and SH4. Thanks to
kazuya.s@jp.yokogawa.com.
2003-03-24 Werner Koch <wk@gnupg.org>
* Makefile.am: Make use of AM_CFLAGS.

View File

@ -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" \