diff options
Diffstat (limited to 'mpn/x86/pentium4/mmx')
-rw-r--r-- | mpn/x86/pentium4/mmx/lshift.asm | 10 | ||||
-rw-r--r-- | mpn/x86/pentium4/mmx/popham.asm | 9 | ||||
-rw-r--r-- | mpn/x86/pentium4/mmx/rshift.asm | 10 |
3 files changed, 17 insertions, 12 deletions
diff --git a/mpn/x86/pentium4/mmx/lshift.asm b/mpn/x86/pentium4/mmx/lshift.asm index f59891358..a0bd867fa 100644 --- a/mpn/x86/pentium4/mmx/lshift.asm +++ b/mpn/x86/pentium4/mmx/lshift.asm @@ -1,8 +1,6 @@ -dnl Intel Pentium 4 mpn_lshift -- left shift. -dnl -dnl Pentium 4: 1.75 cycles/limb. +dnl Intel Pentium-4 mpn_lshift -- left shift. -dnl Copyright 2001 Free Software Foundation, Inc. +dnl Copyright 2001, 2002 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl @@ -23,5 +21,9 @@ dnl Suite 330, Boston, MA 02111-1307, USA. include(`../config.m4') + +C P4: 1.75 cycles/limb. + + MULFUNC_PROLOGUE(mpn_lshift) include_mpn(`x86/pentium/mmx/lshift.asm') diff --git a/mpn/x86/pentium4/mmx/popham.asm b/mpn/x86/pentium4/mmx/popham.asm index ebcdb9197..516de5bd0 100644 --- a/mpn/x86/pentium4/mmx/popham.asm +++ b/mpn/x86/pentium4/mmx/popham.asm @@ -1,10 +1,7 @@ dnl Intel Pentium 4 mpn_popcount, mpn_hamdist -- population count and dnl hamming distance. -dnl -dnl P4: popcount 8.5 cycles/limb -dnl hamdist 9.5 cycles/limb -dnl Copyright 2000, 2001 Free Software Foundation, Inc. +dnl Copyright 2000, 2001, 2002 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl @@ -26,6 +23,10 @@ dnl Suite 330, Boston, MA 02111-1307, USA. include(`../config.m4') +C P4: popcount 8.5 cycles/limb +C hamdist 9.5 cycles/limb + + C unsigned long mpn_popcount (mp_srcptr src, mp_size_t size); C unsigned long mpn_hamdist (mp_srcptr src, mp_srcptr src2, mp_size_t size); C diff --git a/mpn/x86/pentium4/mmx/rshift.asm b/mpn/x86/pentium4/mmx/rshift.asm index 2f4bf937e..b1db05950 100644 --- a/mpn/x86/pentium4/mmx/rshift.asm +++ b/mpn/x86/pentium4/mmx/rshift.asm @@ -1,8 +1,6 @@ -dnl Intel Pentium 4 mpn_rshift -- right shift. -dnl -dnl Pentium 4: 1.75 cycles/limb. +dnl Intel Pentium-4 mpn_rshift -- right shift. -dnl Copyright 2001 Free Software Foundation, Inc. +dnl Copyright 2001, 2002 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl @@ -23,5 +21,9 @@ dnl Suite 330, Boston, MA 02111-1307, USA. include(`../config.m4') + +C P4: 1.75 cycles/limb. + + MULFUNC_PROLOGUE(mpn_rshift) include_mpn(`x86/pentium/mmx/rshift.asm') |