[BACK]Return to umul.asm CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / mpn / powerpc32

Diff for /OpenXM_contrib/gmp/mpn/powerpc32/Attic/umul.asm between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/09/09 14:12:38 version 1.1.1.2, 2003/08/25 16:06:24
Line 1 
Line 1 
 dnl PowerPC-32 umul_ppmm -- support for longlong.h  dnl PowerPC-32 umul_ppmm -- support for longlong.h
   
 dnl Copyright (C) 2000 Free Software Foundation, Inc.  dnl Copyright 2000, 2001 Free Software Foundation, Inc.
   dnl
 dnl This file is part of the GNU MP Library.  dnl This file is part of the GNU MP Library.
   dnl
 dnl The GNU MP Library is free software; you can redistribute it and/or modify  dnl The GNU MP Library is free software; you can redistribute it and/or
 dnl it under the terms of the GNU Lesser General Public License as published by  dnl modify it under the terms of the GNU Lesser General Public License as
 dnl the Free Software Foundation; either version 2.1 of the License, or (at your  dnl published by the Free Software Foundation; either version 2.1 of the
 dnl option) any later version.  dnl License, or (at your option) any later version.
   dnl
 dnl The GNU MP Library is distributed in the hope that it will be useful, but  dnl The GNU MP Library is distributed in the hope that it will be useful,
 dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY  dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public  dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
 dnl License for more details.  dnl General Public License for more details.
   dnl
 dnl You should have received a copy of the GNU Lesser General Public License  dnl You should have received a copy of the GNU Lesser General Public License
 dnl along with the GNU MP Library; see the file COPYING.LIB.  If not, write to  dnl along with the GNU MP Library; see the file COPYING.LIB.  If not, write
 dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,  dnl to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 dnl MA 02111-1307, USA.  dnl Boston, MA 02111-1307, USA.
   
   
 include(`../config.m4')  include(`../config.m4')
   
   
   C mp_limb_t mpn_umul_ppmm (mp_limb_t *lowptr, mp_limb_t m1, mp_limb_t m2);
   C
   
 ASM_START()  ASM_START()
 PROLOGUE(mpn_umul_ppmm)  PROLOGUE(mpn_umul_ppmm)
         mullw   0,4,5  
         mulhwu  9,4,5          C r3    lowptr
         stw     0,0(3)          C r4    m1
         mr      3,9          C r5    m2
   
           mullw   r0, r4, r5
           mulhwu  r9, r4, r5
           stw     r0, 0(r3)
           mr      r3, r9
         blr          blr
   
 EPILOGUE(mpn_umul_ppmm)  EPILOGUE(mpn_umul_ppmm)

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

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