[BACK]Return to mul_1.asm CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / mpn / x86 / k7

Diff for /OpenXM_contrib/gmp/mpn/x86/k7/Attic/mul_1.asm between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/09/09 14:12:42 version 1.1.1.2, 2003/08/25 16:06:29
Line 1 
Line 1 
 dnl  AMD K7 mpn_mul_1 -- mpn by limb multiply.  dnl  AMD K7 mpn_mul_1 -- mpn by limb multiply.
 dnl  
 dnl  K7: 3.4 cycles/limb (at 16 limbs/loop).  
   
   dnl  Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 dnl  Copyright (C) 1999, 2000 Free Software Foundation, Inc.  
 dnl  dnl
 dnl  This file is part of the GNU MP Library.  dnl  This file is part of the GNU MP Library.
 dnl  dnl
Line 22  dnl  License along with the GNU MP Library; see the fi
Line 19  dnl  License along with the GNU MP Library; see the fi
 dnl  not, write to the Free Software Foundation, Inc., 59 Temple Place -  dnl  not, write to the Free Software Foundation, Inc., 59 Temple Place -
 dnl  Suite 330, Boston, MA 02111-1307, USA.  dnl  Suite 330, Boston, MA 02111-1307, USA.
   
   
 include(`../config.m4')  include(`../config.m4')
   
   
   C K7: 3.4 cycles/limb (at 16 limbs/loop).
   
   
   
 dnl  K7: UNROLL_COUNT cycles/limb  dnl  K7: UNROLL_COUNT cycles/limb
 dnl           8           3.9  dnl           8           3.9
 dnl          16           3.4  dnl          16           3.4
Line 76  deflit(UNROLL_THRESHOLD, 7)
Line 76  deflit(UNROLL_THRESHOLD, 7)
 deflit(UNROLL_THRESHOLD, 5)  deflit(UNROLL_THRESHOLD, 5)
 ')  ')
   
         .text          TEXT
         ALIGN(32)          ALIGN(32)
 PROLOGUE(mpn_mul_1c)  PROLOGUE(mpn_mul_1c)
 deflit(`FRAME',0)  deflit(`FRAME',0)
         movl    PARAM_CARRY, %edx          movl    PARAM_CARRY, %edx
         jmp     LF(mpn_mul_1,start_nc)          jmp     L(start_nc)
 EPILOGUE()  EPILOGUE()
   
   
Line 201  L(here):
Line 201  L(here):
   
 ifdef(`PIC',`  ifdef(`PIC',`
 L(add_eip_to_edx):  L(add_eip_to_edx):
         C See README.family about old gas bugs          C See mpn/x86/README about old gas bugs
         leal    (%edx,%ebp), %edx          leal    (%edx,%ebp), %edx
         addl    $L(entry)-L(here), %edx          addl    $L(entry)-L(here), %edx
         addl    (%esp), %edx          addl    (%esp), %edx

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

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