~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gmp/mpn/x86/p6/p3mmx/popham.asm

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2007-04-09 11:51:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070409115151-ql8cr0kalzx1jmla
Tags: 0.9i-20070324-2
Upload to unstable. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl  Intel Pentium-III mpn_popcount, mpn_hamdist -- population count and
2
2
dnl  hamming distance.
3
3
 
4
 
dnl  Copyright 2000, 2002 Free Software Foundation, Inc.
5
 
dnl 
 
4
dnl  Copyright 2000, 2002, 2004 Free Software Foundation, Inc.
 
5
dnl
6
6
dnl  This file is part of the GNU MP Library.
7
 
dnl 
 
7
dnl
8
8
dnl  The GNU MP Library is free software; you can redistribute it and/or
9
9
dnl  modify it under the terms of the GNU Lesser General Public License as
10
10
dnl  published by the Free Software Foundation; either version 2.1 of the
11
11
dnl  License, or (at your option) any later version.
12
 
dnl 
 
12
dnl
13
13
dnl  The GNU MP Library is distributed in the hope that it will be useful,
14
14
dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
15
dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
16
dnl  Lesser General Public License for more details.
17
 
dnl 
 
17
dnl
18
18
dnl  You should have received a copy of the GNU Lesser General Public
19
19
dnl  License along with the GNU MP Library; see the file COPYING.LIB.  If
20
 
dnl  not, write to the Free Software Foundation, Inc., 59 Temple Place -
21
 
dnl  Suite 330, Boston, MA 02111-1307, USA.
22
 
 
23
 
 
24
 
dnl  Haven't actually measured it, but the K7 code with the psadbw should be
25
 
dnl  good on P-III.
 
20
dnl  not, write to the Free Software Foundation, Inc., 51 Franklin Street,
 
21
dnl  Fifth Floor, Boston, MA 02110-1301, USA.
26
22
 
27
23
include(`../config.m4')
28
24
 
 
25
 
 
26
C      popcount  hamdist
 
27
C P3:     6.5       7     cycles/limb
 
28
 
 
29
 
29
30
MULFUNC_PROLOGUE(mpn_popcount mpn_hamdist)
30
31
include_mpn(`x86/k7/mmx/popham.asm')