[BACK]Return to ddM.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / asm

Diff for /OpenXM_contrib2/asir2000/asm/ddM.c between version 1.5 and 1.7

version 1.5, 2001/10/09 01:36:02 version 1.7, 2004/06/25 14:09:03
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/asm/ddM.c,v 1.4 2001/06/25 05:30:48 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/asm/ddM.c,v 1.6 2004/06/25 09:53:11 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "base.h"  #include "base.h"
Line 193  unsigned int rem(N n,int m)
Line 193  unsigned int rem(N n,int m)
         if ( !n )          if ( !n )
                 return 0;                  return 0;
         for ( i = PL(n)-1, x = BD(n)+i, r = 0; i >= 0; i--, x-- ) {          for ( i = PL(n)-1, x = BD(n)+i, r = 0; i >= 0; i--, x-- ) {
 #if defined(sparc)  #if defined(sparc) && !defined(__sparcv9)
                 r = dsar(m,r,*x);                  r = dsar(m,r,*x);
 #else  #else
                 DSAB(m,r,*x,t,r)                  DSAB(m,r,*x,t,r)
Line 202  unsigned int rem(N n,int m)
Line 202  unsigned int rem(N n,int m)
         return r;          return r;
 }  }
   
 #ifndef sparc  #if !defined(sparc) || defined(__sparcv9)
 void addpadic(int mod,int n,unsigned int *n1,unsigned int *n2)  void addpadic(int mod,int n,unsigned int *n1,unsigned int *n2)
 {  {
         unsigned int carry,tmp;          unsigned int carry,tmp;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>