=================================================================== RCS file: /home/cvs/OpenXM_contrib/gmp/mpn/x86/k7/Attic/mul_basecase.asm,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -p -r1.1.1.1 -r1.1.1.2 --- OpenXM_contrib/gmp/mpn/x86/k7/Attic/mul_basecase.asm 2000/09/09 14:12:42 1.1.1.1 +++ OpenXM_contrib/gmp/mpn/x86/k7/Attic/mul_basecase.asm 2003/08/25 16:06:29 1.1.1.2 @@ -1,10 +1,6 @@ dnl AMD K7 mpn_mul_basecase -- multiply two mpn numbers. -dnl -dnl K7: approx 4.42 cycles per cross product at around 20x20 limbs (16 -dnl limbs/loop unrolling). - -dnl Copyright (C) 1999, 2000 Free Software Foundation, Inc. +dnl Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl @@ -23,10 +19,14 @@ dnl License along with the GNU MP Library; see the fi dnl not, write to the Free Software Foundation, Inc., 59 Temple Place - dnl Suite 330, Boston, MA 02111-1307, USA. - include(`../config.m4') +C K7: approx 4.42 cycles per cross product at around 20x20 limbs (16 +C limbs/loop unrolling). + + + dnl K7 UNROLL_COUNT cycles/product (at around 20x20) dnl 8 4.67 dnl 16 4.59 @@ -64,7 +64,7 @@ defframe(PARAM_XSIZE,12) defframe(PARAM_XP, 8) defframe(PARAM_WP, 4) - .text + TEXT ALIGN(32) PROLOGUE(mpn_mul_basecase) deflit(`FRAME',0) @@ -464,7 +464,7 @@ L(unroll_here): ifdef(`PIC',` L(pic_calc): - C See README.family about old gas bugs + C See mpn/x86/README about old gas bugs leal (%ecx,%edx,1), %ecx addl $L(unroll_entry)-L(unroll_here), %ecx addl (%esp), %ecx