[Gmp-commit] /home/hgfiles/gmp: Add corei popcount/hamdist asm support.

mercurial at gmplib.org mercurial at gmplib.org
Mon Dec 13 21:38:31 CET 2010


details:   /home/hgfiles/gmp/rev/842e4ffa8fd1
changeset: 13709:842e4ffa8fd1
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Dec 13 21:38:23 2010 +0100
description:
Add corei popcount/hamdist asm support.

diffstat:

 ChangeLog                     |   3 +++
 mpn/x86_64/corei/hamdist.asm  |  23 +++++++++++++++++++++++
 mpn/x86_64/corei/popcount.asm |  23 +++++++++++++++++++++++
 3 files changed, 49 insertions(+), 0 deletions(-)

diffs (66 lines):

diff -r 9a97c2aa6515 -r 842e4ffa8fd1 ChangeLog
--- a/ChangeLog	Mon Dec 13 20:08:08 2010 +0100
+++ b/ChangeLog	Mon Dec 13 21:38:23 2010 +0100
@@ -1,5 +1,8 @@
 2010-12-13  Torbjorn Granlund  <tege at gmplib.org>
 
+	* mpn/x86_64/corei/popcount.asm: New file.
+	* mpn/x86_64/corei/hamdist.asm: New file.
+
 	* mpn/x86_64/k10/hamdist.asm: New file.
 
 	* configure.in: Amend last change for lame /bin/sh.
diff -r 9a97c2aa6515 -r 842e4ffa8fd1 mpn/x86_64/corei/hamdist.asm
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/corei/hamdist.asm	Mon Dec 13 21:38:23 2010 +0100
@@ -0,0 +1,23 @@
+dnl  AMD64 mpn_hamdist -- hamming distance.
+
+dnl  Copyright 2008, 2010 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')
+
+include_mpn(`x86_64/k10/hamdist.asm')
diff -r 9a97c2aa6515 -r 842e4ffa8fd1 mpn/x86_64/corei/popcount.asm
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/corei/popcount.asm	Mon Dec 13 21:38:23 2010 +0100
@@ -0,0 +1,23 @@
+dnl  AMD64 mpn_popcount -- population count.
+
+dnl  Copyright 2008, 2010 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')
+
+include_mpn(`x86_64/k10/popcount.asm')


More information about the gmp-commit mailing list