[BACK]Return to asmalpha-27.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / engine-27

Diff for /OpenXM_contrib2/asir2000/engine-27/Attic/asmalpha-27.c between version 1.1 and 1.2

version 1.1, 1999/12/03 07:39:08 version 1.2, 2000/02/04 09:27:32
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/asir99/engine-27/asmalpha-27.c,v 1.1.1.1 1999/11/10 08:12:27 noro Exp $ */  /* $OpenXM: OpenXM_contrib2/asir2000/engine-27/asmalpha-27.c,v 1.1.1.1 1999/12/03 07:39:08 noro Exp $ */
 #if defined(__alpha)  #if defined(__alpha)
 typedef unsigned long UL;  typedef unsigned long UL;
 #elif defined(mips) || defined(hpux)  #elif defined(mips) || defined(hpux) || defined(powerpc)
 typedef unsigned long long UL;  typedef unsigned long long UL;
 #endif  #endif
   
Line 34  unsigned int base,a1,a2,*u;
Line 34  unsigned int base,a1,a2,*u;
   
         t = (UL)a1*(UL)a2;          t = (UL)a1*(UL)a2;
         *u = t/(UL)base;          *u = t/(UL)base;
         return (unsigned int)(t%(UL)base);          return (unsigned int)(t-(UL)base*(UL)(*u));
 }  }
   
 unsigned int dmab_27(base,a1,a2,a3,u)  unsigned int dmab_27(base,a1,a2,a3,u)
Line 44  unsigned int base,a1,a2,a3,*u;
Line 44  unsigned int base,a1,a2,a3,*u;
   
         t = (UL)a1*(UL)a2+(UL)a3;          t = (UL)a1*(UL)a2+(UL)a3;
         *u = t/(UL)base;          *u = t/(UL)base;
         return (unsigned int)(t%(UL)base);          return (unsigned int)(t-(UL)base*(UL)(*u));
 }  }
   
 unsigned int dmar_27(a1,a2,a3,d)  unsigned int dmar_27(a1,a2,a3,d)
Line 63  unsigned int base,a1,a2,*u;
Line 63  unsigned int base,a1,a2,*u;
   
         t = (((UL)a1)<<27)+(UL)a2;          t = (((UL)a1)<<27)+(UL)a2;
         *u = t/(UL)base;          *u = t/(UL)base;
         return (unsigned int)(t%(UL)base);          return (unsigned int)(t-(UL)base*(UL)(*u));
 }  }
   
 unsigned int dqr_27(a,b,qp)  unsigned int dqr_27(a,b,qp)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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