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

mercurial at gmplib.org mercurial at gmplib.org
Sat Nov 26 10:58:11 CET 2011


details:   /var/hg/gmp/rev/7221384615b6
changeset: 14481:7221384615b6
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Nov 26 10:56:14 2011 +0100
description:
Reinsert x86 path components accidentally lost in major edit.

details:   /var/hg/gmp/rev/9f9c17ed7d40
changeset: 14482:9f9c17ed7d40
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Nov 26 10:57:47 2011 +0100
description:
Partially tabify.

diffstat:

 configure.in |  184 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 92 insertions(+), 92 deletions(-)

diffs (253 lines):

diff -r 06e562700261 -r 9f9c17ed7d40 configure.in
--- a/configure.in	Fri Nov 25 23:57:13 2011 +0100
+++ b/configure.in	Sat Nov 26 10:57:47 2011 +0100
@@ -1466,157 +1466,157 @@
     gcc_cflags_optlist="cpu arch"
     case $host_cpu in
       i386*)
-        gcc_cflags_cpu="-mtune=i386 -mcpu=i386 -m386"
-        gcc_cflags_arch="-march=i386"
+	gcc_cflags_cpu="-mtune=i386 -mcpu=i386 -m386"
+	gcc_cflags_arch="-march=i386"
 	path="x86"
-        ;;
+	;;
       i486*)
-        gcc_cflags_cpu="-mtune=i486 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=i486"
+	gcc_cflags_cpu="-mtune=i486 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=i486"
 	path="x86/i486 x86"
-        ;;
+	;;
       i586 | pentium)
-        gcc_cflags_cpu="-mtune=pentium -mcpu=pentium -m486"
-        gcc_cflags_arch="-march=pentium"
+	gcc_cflags_cpu="-mtune=pentium -mcpu=pentium -m486"
+	gcc_cflags_arch="-march=pentium"
 	path="x86/pentium x86"
-        ;;
+	;;
       pentiummmx)
-        gcc_cflags_cpu="-mtune=pentium-mmx -mcpu=pentium-mmx -mcpu=pentium -m486"
-        gcc_cflags_arch="-march=pentium-mmx -march=pentium"
+	gcc_cflags_cpu="-mtune=pentium-mmx -mcpu=pentium-mmx -mcpu=pentium -m486"
+	gcc_cflags_arch="-march=pentium-mmx -march=pentium"
 	path="x86/pentium/mmx x86/pentium x86"
-        ;;
+	;;
       i686 | pentiumpro)
-        gcc_cflags_cpu="-mtune=pentiumpro -mcpu=pentiumpro -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=pentiumpro -march=pentium"
+	gcc_cflags_cpu="-mtune=pentiumpro -mcpu=pentiumpro -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=pentiumpro -march=pentium"
 	path="x86/p6 x86"
-        ;;
+	;;
       pentium2)
-        gcc_cflags_cpu="-mtune=pentium2 -mcpu=pentium2 -mcpu=pentiumpro -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=pentium2 -march=pentiumpro -march=pentium"
+	gcc_cflags_cpu="-mtune=pentium2 -mcpu=pentium2 -mcpu=pentiumpro -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=pentium2 -march=pentiumpro -march=pentium"
 	path="x86/p6/mmx x86/p6 x86"
-        ;;
+	;;
       pentium3)
-        gcc_cflags_cpu="-mtune=pentium3 -mcpu=pentium3 -mcpu=pentiumpro -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=pentium3 -march=pentiumpro -march=pentium"
+	gcc_cflags_cpu="-mtune=pentium3 -mcpu=pentium3 -mcpu=pentiumpro -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=pentium3 -march=pentiumpro -march=pentium"
 	path="x86/p6/p3mmx x86/p6/mmx x86/p6 x86"
-        ;;
+	;;
       pentiumm)
-        gcc_cflags_cpu="-mtune=pentium3 -mcpu=pentium3 -mcpu=pentiumpro -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=pentium3 -march=pentiumpro -march=pentium"
+	gcc_cflags_cpu="-mtune=pentium3 -mcpu=pentium3 -mcpu=pentiumpro -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=pentium3 -march=pentiumpro -march=pentium"
 	path="x86/p6/sse2 x86/p6/p3mmx x86/p6/mmx x86/p6 x86"
-        ;;
+	;;
       k6)
-        gcc_cflags_cpu="-mtune=k6 -mcpu=k6 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=k6"
+	gcc_cflags_cpu="-mtune=k6 -mcpu=k6 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=k6"
 	path="x86/k6/mmx x86/k6 x86"
-        ;;
+	;;
       k62)
-        gcc_cflags_cpu="-mtune=k6-2 -mcpu=k6-2 -mcpu=k6 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=k6-2 -march=k6"
+	gcc_cflags_cpu="-mtune=k6-2 -mcpu=k6-2 -mcpu=k6 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=k6-2 -march=k6"
 	path="x86/k6/k62mmx x86/k6/mmx x86/k6 x86"
-        ;;
+	;;
       k63)
-        gcc_cflags_cpu="-mtune=k6-3 -mcpu=k6-3 -mcpu=k6 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=k6-3 -march=k6"
+	gcc_cflags_cpu="-mtune=k6-3 -mcpu=k6-3 -mcpu=k6 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=k6-3 -march=k6"
 	path="x86/k6/k62mmx x86/k6/mmx x86/k6 x86"
-        ;;
+	;;
       geode)
-        gcc_cflags_cpu="-mtune=k6-3 -mcpu=k6-3 -mcpu=k6 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=k6-3 -march=k6"
+	gcc_cflags_cpu="-mtune=k6-3 -mcpu=k6-3 -mcpu=k6 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=k6-3 -march=k6"
 	path="x86/geode x86/k6/k62mmx x86/k6/mmx x86/k6 x86"
-        ;;
+	;;
       athlon)
-        # Athlon instruction costs are close to P6 (3 cycle load latency,
-        # 4-6 cycle mul, 40 cycle div, pairable adc, etc) so if gcc doesn't
-        # know athlon (eg. 2.95.2 doesn't) then fall back on pentiumpro.
-        gcc_cflags_cpu="-mtune=athlon -mcpu=athlon -mcpu=pentiumpro -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=athlon -march=pentiumpro -march=pentium"
+	# Athlon instruction costs are close to P6 (3 cycle load latency,
+	# 4-6 cycle mul, 40 cycle div, pairable adc, etc) so if gcc doesn't
+	# know athlon (eg. 2.95.2 doesn't) then fall back on pentiumpro.
+	gcc_cflags_cpu="-mtune=athlon -mcpu=athlon -mcpu=pentiumpro -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=athlon -march=pentiumpro -march=pentium"
 	path="x86/k7/mmx x86/k7 x86"
-        ;;
+	;;
       i786 | pentium4)
-        # pentiumpro is the primary fallback when gcc doesn't know pentium4.
-        # This gets us cmov to eliminate branches.  Maybe "athlon" would be
-        # a possibility on gcc 3.0.
-        #
-        gcc_cflags_cpu="-mtune=pentium4 -mcpu=pentium4 -mcpu=pentiumpro -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=pentium4 -march=pentium4~-mno-sse2 -march=pentiumpro -march=pentium"
-        gcc_64_cflags_cpu="-mtune=nocona"
+	# pentiumpro is the primary fallback when gcc doesn't know pentium4.
+	# This gets us cmov to eliminate branches.  Maybe "athlon" would be
+	# a possibility on gcc 3.0.
+	#
+	gcc_cflags_cpu="-mtune=pentium4 -mcpu=pentium4 -mcpu=pentiumpro -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=pentium4 -march=pentium4~-mno-sse2 -march=pentiumpro -march=pentium"
+	gcc_64_cflags_cpu="-mtune=nocona"
 	path="x86/pentium4/sse2 x86/pentium4/mmx x86/pentium4 x86"
 	path_64="x86_64/pentium4 x86_64"
-        ;;
+	;;
       viac32)
-        # Not sure of the best fallbacks here for -mcpu.
-        # c3-2 has sse and mmx, so pentium3 is good for -march.
-        gcc_cflags_cpu="-mtune=c3-2 -mcpu=c3-2 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=c3-2 -march=pentium3 -march=pentiumpro -march=pentium"
+	# Not sure of the best fallbacks here for -mcpu.
+	# c3-2 has sse and mmx, so pentium3 is good for -march.
+	gcc_cflags_cpu="-mtune=c3-2 -mcpu=c3-2 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=c3-2 -march=pentium3 -march=pentiumpro -march=pentium"
 	path="x86/p6/p3mmx x86/p6/mmx x86/p6 x86"
-        ;;
+	;;
       viac3*)
-        # Not sure of the best fallbacks here.
-        gcc_cflags_cpu="-mtune=c3 -mcpu=c3 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=c3 -march=pentium-mmx -march=pentium"
+	# Not sure of the best fallbacks here.
+	gcc_cflags_cpu="-mtune=c3 -mcpu=c3 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=c3 -march=pentium-mmx -march=pentium"
 	path="x86/pentium/mmx x86/pentium x86"
-        ;;
+	;;
       athlon64 | k8 | x86_64)
-        gcc_cflags_cpu="-mtune=k8 -mcpu=athlon -mcpu=pentiumpro -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=k8 -march=k8~-mno-sse2 -march=athlon -march=pentiumpro -march=pentium"
-	path="x86/k8 x86"
+	gcc_cflags_cpu="-mtune=k8 -mcpu=athlon -mcpu=pentiumpro -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=k8 -march=k8~-mno-sse2 -march=athlon -march=pentiumpro -march=pentium"
+	path="x86/k8 x86/k7/mmx x86/k7 x86"
 	path_64="x86_64/k8 x86_64"
-        ;;
+	;;
       k10)
-        gcc_cflags_cpu="-mtune=amdfam10 -mtune=k8"
-        gcc_cflags_arch="-march=amdfam10 -march=k8 -march=k8~-mno-sse2"
-	path="x86/k10 x86/k8 x86"
+	gcc_cflags_cpu="-mtune=amdfam10 -mtune=k8"
+	gcc_cflags_arch="-march=amdfam10 -march=k8 -march=k8~-mno-sse2"
+	path="x86/k10 x86/k8 x86/k7/mmx x86/k7 x86"
 	path_64="x86_64/k10 x86_64/k8 x86_64"
-        ;;
+	;;
       bobcat)
-        gcc_cflags_cpu="-mtune=btver1 -mtune=amdfam10 -mtune=k8"
-        gcc_cflags_arch="-march=btver1 -march=amdfam10 -march=k8 -march=k8~-mno-sse2"
-	path="x86/bobcat x86"
+	gcc_cflags_cpu="-mtune=btver1 -mtune=amdfam10 -mtune=k8"
+	gcc_cflags_arch="-march=btver1 -march=amdfam10 -march=k8 -march=k8~-mno-sse2"
+	path="x86/bobcat x86/k7/mmx x86/k7 x86"
 	path_64="x86_64/bobcat x86_64/k10 x86_64/k8 x86_64"
-        ;;
+	;;
       bulldozer | bd1)
-        gcc_cflags_cpu="-mtune=bdver1 -mtune=amdfam10 -mtune=k8"
-        gcc_cflags_arch="-march=bdver1 -march=amdfam10 -march=k8 -march=k8~-mno-sse2"
-	path="x86/bd1 x86"
+	gcc_cflags_cpu="-mtune=bdver1 -mtune=amdfam10 -mtune=k8"
+	gcc_cflags_arch="-march=bdver1 -march=amdfam10 -march=k8 -march=k8~-mno-sse2"
+	path="x86/bd1 x86/k7/mmx x86/k7 x86"
 	path_64="x86_64/bd1 x86_64"
-        ;;
+	;;
       core2)
-        gcc_cflags_cpu="-mtune=core2 -mtune=k8"
-        gcc_cflags_arch="-march=core2 -march=core2~-mno-sse2 -march=k8 -march=k8~-mno-sse2"
+	gcc_cflags_cpu="-mtune=core2 -mtune=k8"
+	gcc_cflags_arch="-march=core2 -march=core2~-mno-sse2 -march=k8 -march=k8~-mno-sse2"
 	path="x86/core2 x86/p6/sse2 x86/p6/p3mmx x86/p6/mmx x86/p6 x86"
 	path_64="x86_64/core2 x86_64"
        ;;
       corei | coreinhm | coreiwsm)
-        gcc_cflags_cpu="-mtune=corei7 -mtune=core2 -mtune=k8"
-        gcc_cflags_arch="-march=corei7 -march=core2 -march=core2~-mno-sse2 -march=k8 -march=k8~-mno-sse2"
+	gcc_cflags_cpu="-mtune=corei7 -mtune=core2 -mtune=k8"
+	gcc_cflags_arch="-march=corei7 -march=core2 -march=core2~-mno-sse2 -march=k8 -march=k8~-mno-sse2"
 	path="x86/coreinhm x86/p6/sse2 x86/p6/p3mmx x86/p6/mmx x86/p6 x86"
 	path_64="x86_64/coreinhm x86_64/core2 x86_64"
-        ;;
+	;;
       coreisbr)
-        gcc_cflags_cpu="-mtune=corei7 -mtune=core2 -mtune=k8"
-        gcc_cflags_arch="-march=corei7 -march=core2 -march=core2~-mno-sse2 -march=k8 -march=k8~-mno-sse2"
+	gcc_cflags_cpu="-mtune=corei7 -mtune=core2 -mtune=k8"
+	gcc_cflags_arch="-march=corei7 -march=core2 -march=core2~-mno-sse2 -march=k8 -march=k8~-mno-sse2"
 	path="x86/coreisbr x86/p6/sse2 x86/p6/p3mmx x86/p6/mmx x86/p6 x86"
 	path_64="x86_64/coreisbr x86_64/coreinhm x86_64/core2 x86_64"
-        ;;
+	;;
       atom)
-        gcc_cflags_cpu="-mtune=atom -mtune=pentium3"
-        gcc_cflags_arch="-march=atom -march=pentium3"
+	gcc_cflags_cpu="-mtune=atom -mtune=pentium3"
+	gcc_cflags_arch="-march=atom -march=pentium3"
 	path="x86/atom/sse2 x86/atom/mmx x86/atom x86"
 	path_64="x86_64/atom x86_64"
-        ;;
+	;;
       nano)
-        gcc_cflags_cpu="-mtune=nano"
-        gcc_cflags_arch="-march=nano"
+	gcc_cflags_cpu="-mtune=nano"
+	gcc_cflags_arch="-march=nano"
 	path="x86/nano x86"
 	path_64="x86_64/nano x86_64"
-        ;;
+	;;
       *)
-        gcc_cflags_cpu="-mtune=i486 -mcpu=i486 -m486"
-        gcc_cflags_arch="-march=i486"
+	gcc_cflags_cpu="-mtune=i486 -mcpu=i486 -m486"
+	gcc_cflags_arch="-march=i486"
 	path="x86"
 	path_64="x86_64"
-        ;;
+	;;
     esac
 
     case $host in


More information about the gmp-commit mailing list