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

mercurial at gmplib.org mercurial at gmplib.org
Mon Nov 21 22:51:18 UTC 2016


details:   /var/hg/gmp/rev/a5ebaa4dd84a
changeset: 17126:a5ebaa4dd84a
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Mon Nov 21 23:51:09 2016 +0100
description:
(powerpc): Never use -O3.

details:   /var/hg/gmp/rev/a616287e1855
changeset: 17127:a616287e1855
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Mon Nov 21 23:51:15 2016 +0100
description:
ChangeLog

diffstat:

 ChangeLog    |   8 ++++++++
 configure.ac |  10 +++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (55 lines):

diff -r 7883c06b88f0 -r a616287e1855 ChangeLog
--- a/ChangeLog	Mon Nov 21 23:47:36 2016 +0100
+++ b/ChangeLog	Mon Nov 21 23:51:15 2016 +0100
@@ -1,3 +1,11 @@
+2016-11-21  Torbjörn Granlund  <tg at gmplib.org>
+
+	* configure.ac (powerpc): Never use -O3.
+
+	* acinclude.m4 (mpn_lshift_com optimization 2): Make it well-defined
+	also for 32-bit systems.
+	(mpn_lshift_com optimization 2): Free allocated memory.
+
 2016-11-19  Niels Möller  <nisse at lysator.liu.se>
 
 	* Makefile.am (check-mini-gmp): Override CFLAGS and CPPFLAGS
diff -r 7883c06b88f0 -r a616287e1855 configure.ac
--- a/configure.ac	Mon Nov 21 23:47:36 2016 +0100
+++ b/configure.ac	Mon Nov 21 23:51:15 2016 +0100
@@ -1186,18 +1186,18 @@
 	    # incompatible with a shared library.
 	    #
 	    abilist="mode64 mode32 $abilist"
-	    gcc_cflags_opt="-O3 -O2 -O1"	# will this become used?
+	    gcc_cflags_opt="-O2 -O1"	# will this become used?
 	    cclist_mode32="gcc"
 	    gcc_mode32_cflags_maybe="-m32"
 	    gcc_mode32_cflags="-mpowerpc64"
 	    gcc_mode32_cflags_optlist="subtype cpu opt"
 	    gcc_mode32_cflags_subtype="-force_cpusubtype_ALL"
-	    gcc_mode32_cflags_opt="-O3 -O2 -O1"
+	    gcc_mode32_cflags_opt="-O2 -O1"
 	    limb_mode32=longlong
 	    cclist_mode64="gcc"
 	    gcc_mode64_cflags="-m64"
 	    gcc_mode64_cflags_optlist="cpu opt"
-	    gcc_mode64_cflags_opt="-O3 -O2 -O1"
+	    gcc_mode64_cflags_opt="-O2 -O1"
 	    path_mode64=""
 	    path_mode32=""
 	    p=""
@@ -1235,12 +1235,12 @@
 	    gcc_mode32_cflags_maybe="-m32"
 	    gcc_mode32_cflags="-mpowerpc64"
 	    gcc_mode32_cflags_optlist="cpu opt"
-	    gcc_mode32_cflags_opt="-O3 -O2 -O1"
+	    gcc_mode32_cflags_opt="-O2 -O1"
 	    limb_mode32=longlong
 	    cclist_mode64="gcc gcc64"
 	    gcc_mode64_cflags_maybe="-m64"
 	    gcc_mode64_cflags_optlist="cpu opt"
-	    gcc_mode64_cflags_opt="-O3 -O2 -O1"
+	    gcc_mode64_cflags_opt="-O2 -O1"
 	    path_mode64=""
 	    path_mode32=""
 	    p=""


More information about the gmp-commit mailing list