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

mercurial at gmplib.org mercurial at gmplib.org
Mon Oct 12 20:33:17 UTC 2015


details:   /var/hg/gmp/rev/009836895cd4
changeset: 16844:009836895cd4
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Oct 12 22:32:58 2015 +0200
description:
Reject AVX for NetBSD.

details:   /var/hg/gmp/rev/dde8d3201906
changeset: 16845:dde8d3201906
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Oct 12 22:33:11 2015 +0200
description:
ChangeLog

diffstat:

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

diffs (32 lines):

diff -r 9135bd0524e4 -r dde8d3201906 ChangeLog
--- a/ChangeLog	Sun Oct 11 13:00:15 2015 +0200
+++ b/ChangeLog	Mon Oct 12 22:33:11 2015 +0200
@@ -1,3 +1,11 @@
+2015-10-12  Torbjörn Granlund  <torbjorng at google.com>
+
+	* configure.ac: Reject AVX for NetBSD.
+
+2015-10-11  Torbjörn Granlund  <torbjorng at google.com>
+
+	* configure.ac (fat_path): Add skylake.
+
 2015-10-10 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* gen-fib.c: Correct the name of the program in error message.
diff -r 9135bd0524e4 -r dde8d3201906 configure.ac
--- a/configure.ac	Sun Oct 11 13:00:15 2015 +0200
+++ b/configure.ac	Mon Oct 12 22:33:11 2015 +0200
@@ -1833,8 +1833,11 @@
 	;;
     esac
 
-    case $host_cpu in
-      *noavx)
+    case $host in
+      # Disable AVX if the CPU part tells us AVX is unavailable, but also
+      # unconditionally for NetBSD where they don't work but OSXSAVE is set
+      # to claim the contrary.
+      *noavx-*-* | *-*-netbsd*)
 	gcc_cflags_noavx="-mno-avx";;
     esac
 


More information about the gmp-commit mailing list