diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2012-02-27 14:57:45 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2012-02-27 14:57:45 +0100 |
commit | 217bd805680e380e20a763f7517993e55e011cd0 (patch) | |
tree | 28b6369d5cf734ca293a26a5f7888d335c1b3a1e /mpn/x86_64/bd1/hamdist.asm | |
parent | d727e1ae75ff6cac83a729c36255f4e33cb7ddd6 (diff) | |
download | gmp-217bd805680e380e20a763f7517993e55e011cd0.tar.gz |
New bulldozer popcount and hamdist.
Diffstat (limited to 'mpn/x86_64/bd1/hamdist.asm')
-rw-r--r-- | mpn/x86_64/bd1/hamdist.asm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mpn/x86_64/bd1/hamdist.asm b/mpn/x86_64/bd1/hamdist.asm new file mode 100644 index 000000000..c70396b3f --- /dev/null +++ b/mpn/x86_64/bd1/hamdist.asm @@ -0,0 +1,27 @@ +dnl AMD64 mpn_hamdist -- hamming distance. + +dnl Copyright 2008, 2010, 2011 Free Software Foundation, Inc. + +dnl This file is part of the GNU MP Library. + +dnl The GNU MP Library is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU Lesser General Public License as published +dnl by the Free Software Foundation; either version 3 of the License, or (at +dnl your option) any later version. + +dnl The GNU MP Library is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +dnl License for more details. + +dnl You should have received a copy of the GNU Lesser General Public License +dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. + + +include(`../config.m4') + +ABI_SUPPORT(DOS64) +ABI_SUPPORT(STD64) + +MULFUNC_PROLOGUE(mpn_hamdist) +include_mpn(`x86_64/k10/hamdist.asm') |