[Gmp-commit] /var/hg/gmp: 5 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Thu Jul 16 15:23:16 UTC 2015


details:   /var/hg/gmp/rev/67b549a5f5d9
changeset: 16742:67b549a5f5d9
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Thu Jul 16 17:18:39 2015 +0200
description:
Edit cycles table.

details:   /var/hg/gmp/rev/7904dc3db4d6
changeset: 16743:7904dc3db4d6
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Thu Jul 16 17:20:27 2015 +0200
description:
(hppa-hpux): Never use O3 optimisation.

details:   /var/hg/gmp/rev/a6241744cea5
changeset: 16744:a6241744cea5
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Thu Jul 16 17:22:08 2015 +0200
description:
Remove now redundant MPN_FILL.

details:   /var/hg/gmp/rev/7d6ff1493942
changeset: 16745:7d6ff1493942
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Thu Jul 16 17:22:53 2015 +0200
description:
Add item.

details:   /var/hg/gmp/rev/b9a904a2a7a7
changeset: 16746:b9a904a2a7a7
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Thu Jul 16 17:23:06 2015 +0200
description:
ChangeLog

diffstat:

 ChangeLog                    |  8 +++++++-
 NEWS                         |  3 +++
 configure.ac                 |  4 ++--
 mpn/x86_64/fastsse/copyi.asm |  8 ++++----
 tune/speed.c                 |  9 ---------
 5 files changed, 16 insertions(+), 16 deletions(-)

diffs (93 lines):

diff -r d6e0a9147663 -r b9a904a2a7a7 ChangeLog
--- a/ChangeLog	Thu Jul 09 20:27:33 2015 +0200
+++ b/ChangeLog	Thu Jul 16 17:23:06 2015 +0200
@@ -1,3 +1,9 @@
+2015-07-16  Torbjörn Granlund  <torbjorng at google.com>
+
+	* tune/speed.c: Remove now redundant MPN_FILL.
+
+	* configure.ac (hppa-hpux): Never use O3 optimisation.
+
 2015-07-09  Torbjörn Granlund  <torbjorng at google.com>
 
 	* mpn/ia64/add_n_sub_n.asm: Make it work for HP-UX.
@@ -14,7 +20,7 @@
 
 2015-07-01 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
-	* gmp-impl.h(MPN_FILL): New macro, generalise MPN_ZERO.
+	* gmp-impl.h (MPN_FILL): New macro, generalise MPN_ZERO.
 
 	* mpn/generic/sqrtrem.c(mpn_dc_sqrt): New function not computing remainder.
 	(mpn_dc_sqrtrem): Use tdiv_q instead of divrem, use given scratch space.
diff -r d6e0a9147663 -r b9a904a2a7a7 NEWS
--- a/NEWS	Thu Jul 09 20:27:33 2015 +0200
+++ b/NEWS	Thu Jul 16 17:23:06 2015 +0200
@@ -33,6 +33,9 @@
     irrespective of operand size.
 
   MISC
+  * We now use manufacturers' code names for x86 CPUs, e.g., "haswell" instead
+    of names derived from the commercial brands.
+
   * The various FreeBSD problems listed for 6.0.0 affect this release too.
 
 
diff -r d6e0a9147663 -r b9a904a2a7a7 configure.ac
--- a/configure.ac	Thu Jul 09 20:27:33 2015 +0200
+++ b/configure.ac	Thu Jul 16 17:23:06 2015 +0200
@@ -862,7 +862,7 @@
         path_32="ia64"
         cc_32_cflags=""
         cc_32_cflags_optlist="opt"
-        cc_32_cflags_opt="+O3 +O2 +O1"
+        cc_32_cflags_opt="+O2 +O1"
         gcc_32_cflags="$gcc_cflags -milp32"
         limb_32=longlong
         SPEED_CYCLECOUNTER_OBJ_32=ia64.lo
@@ -877,7 +877,7 @@
         cc_64_cflags="+DD64"
         cc_64_cppflags="+DD64"
         cc_64_cflags_optlist="opt"
-        cc_64_cflags_opt="+O3 +O2 +O1"
+        cc_64_cflags_opt="+O2 +O1"
         gcc_64_cflags="$gcc_cflags -mlp64"
         ;;
     esac
diff -r d6e0a9147663 -r b9a904a2a7a7 mpn/x86_64/fastsse/copyi.asm
--- a/mpn/x86_64/fastsse/copyi.asm	Thu Jul 09 20:27:33 2015 +0200
+++ b/mpn/x86_64/fastsse/copyi.asm	Thu Jul 16 17:23:06 2015 +0200
@@ -37,10 +37,10 @@
 C              aligned	      unaligned	      best seen	     for cpu?
 C AMD K8,K9
 C AMD K10	 0.85		 1.64				Y/N
-C AMD bull	 1.4		 1.4				Y
-C AMD pile
-C AMD steam
-C AMD excavator
+C AMD bull	 1.4		 1.4				N
+C AMD pile	 0.77		 0.93				N
+C AMD steam	 ?		 ?
+C AMD excavator	 ?		 ?
 C AMD bobcat
 C AMD jaguar	 0.65		 1.02		opt/0.93	Y/N
 C Intel P4	 2.3		 2.3				Y
diff -r d6e0a9147663 -r b9a904a2a7a7 tune/speed.c
--- a/tune/speed.c	Thu Jul 09 20:27:33 2015 +0200
+++ b/tune/speed.c	Thu Jul 16 17:23:06 2015 +0200
@@ -91,15 +91,6 @@
 #endif
 
 
-#define MPN_FILL(ptr, size, n)          \
-  do {                                  \
-    mp_size_t __i;                      \
-    ASSERT ((size) >= 0);               \
-    for (__i = 0; __i < (size); __i++)  \
-      (ptr)[__i] = (n);                 \
-  } while (0)
-
-
 #if GMP_LIMB_BITS == 32
 #define GMP_NUMB_0xAA  (CNST_LIMB(0xAAAAAAAA) & GMP_NUMB_MASK)
 #endif


More information about the gmp-commit mailing list