[Gmp-commit] /var/hg/gmp: New bulldozer popcount and hamdist.
mercurial at gmplib.org
mercurial at gmplib.org
Mon Feb 27 14:57:48 CET 2012
details: /var/hg/gmp/rev/a1ec003a1124
changeset: 14692:a1ec003a1124
user: Torbjorn Granlund <tege at gmplib.org>
date: Mon Feb 27 14:57:45 2012 +0100
description:
New bulldozer popcount and hamdist.
diffstat:
ChangeLog | 3 +++
mpn/x86_64/bd1/hamdist.asm | 27 +++++++++++++++++++++++++++
mpn/x86_64/bd1/popcount.asm | 27 +++++++++++++++++++++++++++
3 files changed, 57 insertions(+), 0 deletions(-)
diffs (74 lines):
diff -r e21157bb513d -r a1ec003a1124 ChangeLog
--- a/ChangeLog Mon Feb 27 14:37:02 2012 +0100
+++ b/ChangeLog Mon Feb 27 14:57:45 2012 +0100
@@ -1,5 +1,8 @@
2012-02-27 Torbjorn Granlund <tege at gmplib.org>
+ * mpn/x86_64/bd1/popcount.asm: New file.
+ * mpn/x86_64/bd1/hamdist.asm: New file.
+
* mpn/x86_64/fastsse/copyi.asm: New file.
* mpn/x86_64/fastsse/copyd.asm: New file.
* mpn/x86_64/fastsse/lshift.asm: New file.
diff -r e21157bb513d -r a1ec003a1124 mpn/x86_64/bd1/hamdist.asm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/bd1/hamdist.asm Mon Feb 27 14:57:45 2012 +0100
@@ -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')
diff -r e21157bb513d -r a1ec003a1124 mpn/x86_64/bd1/popcount.asm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/bd1/popcount.asm Mon Feb 27 14:57:45 2012 +0100
@@ -0,0 +1,27 @@
+dnl AMD64 mpn_popcount -- population count.
+
+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_popcount)
+include_mpn(`x86_64/k10/popcount.asm')
More information about the gmp-commit
mailing list