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

mercurial at gmplib.org mercurial at gmplib.org
Fri Nov 30 10:38:46 CET 2012


details:   /var/hg/gmp/rev/bdc4ccb2b98f
changeset: 15151:bdc4ccb2b98f
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Nov 30 10:37:06 2012 +0100
description:
(arm*-*-*): New compiler optional "tune".  Pass value for selected processors.  Add more specific path components.

details:   /var/hg/gmp/rev/6dddf684871e
changeset: 15152:6dddf684871e
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Nov 30 10:37:18 2012 +0100
description:
*** empty log message ***

diffstat:

 ChangeLog    |   5 +++++
 configure.in |  20 +++++++++++++++++---
 2 files changed, 22 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 9be3c73af526 -r 6dddf684871e ChangeLog
--- a/ChangeLog	Thu Nov 29 20:21:11 2012 +0100
+++ b/ChangeLog	Fri Nov 30 10:37:18 2012 +0100
@@ -1,3 +1,8 @@
+2012-11-30  Torbjorn Granlund  <tege at gmplib.org>
+
+	* configure.in (arm*-*-*): New compiler optional "tune".  Pass value for
+	selected processors.  Add more specific path components.
+
 2012-11-29  Torbjorn Granlund  <tege at gmplib.org>
 
 	From Andoni Morales Alastruey:
diff -r 9be3c73af526 -r 6dddf684871e configure.in
--- a/configure.in	Thu Nov 29 20:21:11 2012 +0100
+++ b/configure.in	Fri Nov 30 10:37:18 2012 +0100
@@ -565,7 +565,7 @@
 
   arm*-*-*)
     gcc_cflags="$gcc_cflags $fomit_frame_pointer"
-    gcc_cflags_optlist="arch"
+    gcc_cflags_optlist="arch tune"
     gcc_cflags_maybe="-marm"
     gcc_testlist="gcc-arm-umodsi"
     GMP_INCLUDE_MPN(arm/arm-defs.m4)
@@ -576,11 +576,25 @@
 	path="arm/v5 arm"
 	gcc_cflags_arch="-march=armv5"
 	;;
-      arm11mpcore | arm1136 | arm1156 | arm1176 | armv6*)
+      arm11mpcore | arm1136 | arm1176 | armv6*)
 	path="arm/v6 arm/v5 arm"
 	gcc_cflags_arch="-march=armv6"
 	;;
-      armcortexa5 | armcortexa8 | armcortexa9 | armcortexa15 | armv7a*)
+      arm1156)
+	path="arm/v6t2 arm/v6 arm/v5 arm"
+	gcc_cflags_arch="-march=armv6"
+	;;
+      armcortexa9)
+	path="arm/v7a/cora9 arm/v6t2 arm/v6 arm/v5 arm"
+	gcc_cflags_arch="-march=armv7-a"
+	gcc_cflags_tune="-mtune=cortex-a9"
+	;;
+      armcortexa15)
+	path="arm/v7a/cora15 arm/v6t2 arm/v6 arm/v5 arm"
+	gcc_cflags_arch="-march=armv7-a"
+	gcc_cflags_tune="-mtune=cortex-a15 -mtune=cortex-a9"
+	;;
+      armcortexa5 | armcortexa8 | armv7a*)
 	path="arm/v6t2 arm/v6 arm/v5 arm"
 	gcc_cflags_arch="-march=armv7-a"
 	;;


More information about the gmp-commit mailing list