[Gmp-commit] /home/hgfiles/gmp: 4 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Thu Jan 27 22:59:38 CET 2011
details: /home/hgfiles/gmp/rev/16585ae56e12
changeset: 13776:16585ae56e12
user: Torbjorn Granlund <tege at gmplib.org>
date: Thu Jan 27 22:46:29 2011 +0100
description:
Add more cycle counts.
details: /home/hgfiles/gmp/rev/da109b6fa99e
changeset: 13777:da109b6fa99e
user: Torbjorn Granlund <tege at gmplib.org>
date: Thu Jan 27 22:50:12 2011 +0100
description:
Add cycle more counts.
details: /home/hgfiles/gmp/rev/7e5c47acbb4f
changeset: 13778:7e5c47acbb4f
user: Torbjorn Granlund <tege at gmplib.org>
date: Thu Jan 27 22:52:51 2011 +0100
description:
Improve atom/64 code selection with some asm grabbing files.
details: /home/hgfiles/gmp/rev/a287ca5262b8
changeset: 13779:a287ca5262b8
user: Torbjorn Granlund <tege at gmplib.org>
date: Thu Jan 27 22:59:36 2011 +0100
description:
Improve nano/64 code selection with some asm grabbing files.
diffstat:
ChangeLog | 7 +++++++
mpn/x86/pentium4/sse2/popcount.asm | 12 +++++++-----
mpn/x86_64/atom/dive_1.asm | 22 ++++++++++++++++++++++
mpn/x86_64/atom/popcount.asm | 23 +++++++++++++++++++++++
mpn/x86_64/atom/rsh1aors_n.asm | 24 ++++++++++++++++++++++++
mpn/x86_64/nano/popcount.asm | 23 +++++++++++++++++++++++
mpn/x86_64/pentium4/rsh1aors_n.asm | 4 ++--
7 files changed, 108 insertions(+), 7 deletions(-)
diffs (171 lines):
diff -r 8e3be23899cb -r a287ca5262b8 ChangeLog
--- a/ChangeLog Wed Jan 26 21:17:53 2011 +0100
+++ b/ChangeLog Thu Jan 27 22:59:36 2011 +0100
@@ -1,3 +1,10 @@
+2011-01-27 Torbjorn Granlund <tege at gmplib.org>
+
+ * mpn/x86_64/atom/rsh1aors_n.asm: New file, grabbing another asm file.
+ * mpn/x86_64/atom/popcount.asm: Likewise.
+ * mpn/x86_64/atom/dive_1.asm: Likewise.
+ * mpn/x86_64/nano/popcount.asm: Likewise.
+
2011-01-26 Torbjorn Granlund <tege at gmplib.org>
* mpn/alpha/invert_limb.asm: Complete rewrite.
diff -r 8e3be23899cb -r a287ca5262b8 mpn/x86/pentium4/sse2/popcount.asm
--- a/mpn/x86/pentium4/sse2/popcount.asm Wed Jan 26 21:17:53 2011 +0100
+++ b/mpn/x86/pentium4/sse2/popcount.asm Thu Jan 27 22:59:36 2011 +0100
@@ -1,6 +1,6 @@
dnl X86-32 and X86-64 mpn_popcount using SSE2.
-dnl Copyright 2006, 2007 Free Software Foundation, Inc.
+dnl Copyright 2006, 2007, 2011 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
@@ -39,10 +39,12 @@
C 64-bit popcount hamdist
C cycles/limb cycles/limb
C P4 model 4 (Nocona): 8
-C K8: 7.5
-C K10: 3.5
-C P6 core2: 3.68
-C P6 corei7: 3.15
+C AMD K8,K9 7.5
+C AMD K10 3.5
+C Intel core2 3.68
+C Intel corei 3.15
+C Intel atom 10.8
+C VIA nano 6.5
C TODO
C * Make a mpn_hamdist based on this. Alignment could either be handled by
diff -r 8e3be23899cb -r a287ca5262b8 mpn/x86_64/atom/dive_1.asm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/atom/dive_1.asm Thu Jan 27 22:59:36 2011 +0100
@@ -0,0 +1,22 @@
+dnl AMD64 mpn_divexact_1 -- mpn by limb exact division.
+
+dnl Copyright 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')
+
+include_mpn(`x86_64/nano/dive_1.asm')
diff -r 8e3be23899cb -r a287ca5262b8 mpn/x86_64/atom/popcount.asm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/atom/popcount.asm Thu Jan 27 22:59:36 2011 +0100
@@ -0,0 +1,23 @@
+dnl x86-64 mpn_popcount.
+
+dnl Copyright 2007, 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')
+
+include_mpn(`x86/pentium4/sse2/popcount.asm')
diff -r 8e3be23899cb -r a287ca5262b8 mpn/x86_64/atom/rsh1aors_n.asm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/atom/rsh1aors_n.asm Thu Jan 27 22:59:36 2011 +0100
@@ -0,0 +1,24 @@
+dnl x86-64 mpn_rsh1add_n/mpn_rsh1sub_n.
+
+dnl Contributed to the GNU project by Torbjorn Granlund.
+
+dnl Copyright 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')
+
+include_mpn(`x86_64/pentium4/rsh1aors_n.asm')
diff -r 8e3be23899cb -r a287ca5262b8 mpn/x86_64/nano/popcount.asm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpn/x86_64/nano/popcount.asm Thu Jan 27 22:59:36 2011 +0100
@@ -0,0 +1,23 @@
+dnl x86-64 mpn_popcount.
+
+dnl Copyright 2007, 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')
+
+include_mpn(`x86/pentium4/sse2/popcount.asm')
diff -r 8e3be23899cb -r a287ca5262b8 mpn/x86_64/pentium4/rsh1aors_n.asm
--- a/mpn/x86_64/pentium4/rsh1aors_n.asm Wed Jan 26 21:17:53 2011 +0100
+++ b/mpn/x86_64/pentium4/rsh1aors_n.asm Thu Jan 27 22:59:36 2011 +0100
@@ -2,7 +2,7 @@
dnl Contributed to the GNU project by Torbjorn Granlund.
-dnl Copyright 2007, 2008, 2010 Free Software Foundation, Inc.
+dnl Copyright 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
@@ -28,7 +28,7 @@
C Intel P4 5.70
C Intel core2 4.75
C Intel corei 5
-C Intel atom ?
+C Intel atom 8.75
C VIA nano 5.25
C TODO
More information about the gmp-commit
mailing list