Upload Tizen:Base source
[external/gmp.git] / mpn / x86 / p6 / p3mmx / popham.asm
1 dnl  Intel Pentium-III mpn_popcount, mpn_hamdist -- population count and
2 dnl  hamming distance.
3
4 dnl  Copyright 2000, 2002, 2004, 2007 Free Software Foundation, Inc.
5 dnl
6 dnl  This file is part of the GNU MP Library.
7 dnl
8 dnl  The GNU MP Library is free software; you can redistribute it and/or
9 dnl  modify it under the terms of the GNU Lesser General Public License as
10 dnl  published by the Free Software Foundation; either version 3 of the
11 dnl  License, or (at your option) any later version.
12 dnl
13 dnl  The GNU MP Library is distributed in the hope that it will be useful,
14 dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 dnl  Lesser General Public License for more details.
17 dnl
18 dnl  You should have received a copy of the GNU Lesser General Public License
19 dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
20
21 include(`../config.m4')
22
23
24 C                            popcount        hamdist
25 C P3 generic                    6.5             7
26 C P3 model 9  (Banias)          ?               ?
27 C P3 model 13 (Dothan)          5.75            6
28
29
30 MULFUNC_PROLOGUE(mpn_popcount mpn_hamdist)
31 include_mpn(`x86/k7/mmx/popham.asm')