aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2007-01-17 09:21:11 +0000
committerEric Christopher <echristo@gcc.gnu.org>2007-01-17 09:21:11 +0000
commit30fd45a0b2c2bffc8b7999f4da9f7bfbac97fead (patch)
treeab8db6f7488025ac57c2fe40b7c744e4ded9a3b1
parent98685f2b44e1488e0c2f025c3ba0e946c247a63b (diff)
downloadgcc-30fd45a0b2c2bffc8b7999f4da9f7bfbac97fead.zip
gcc-30fd45a0b2c2bffc8b7999f4da9f7bfbac97fead.tar.gz
gcc-30fd45a0b2c2bffc8b7999f4da9f7bfbac97fead.tar.bz2
config.gcc: Support core2 processor.
2007-01-17 Eric Christopher <echristo@apple.com> * config.gcc: Support core2 processor. From-SVN: r120846
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config.gcc16
2 files changed, 15 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a8e0c18..d87295d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-17 Eric Christopher <echristo@apple.com>
+
+ * config.gcc: Support core2 processor.
+
2007-01-16 Jan Hubicka <jh@suse.cz>
* tree-ssanames.c (release_dead_ssa_names): Instead of ggc_freeing
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 5aa991c..2f47721 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1111,14 +1111,14 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
# FIXME: -m64 for i[34567]86-*-* should be allowed just
# like -m32 for x86_64-*-*.
case X"${with_cpu}" in
- Xgeneric|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
+ Xgeneric|Xcore2|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
;;
X)
with_cpu=generic
;;
*)
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
- echo "generic nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
+ echo "generic core2 nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
exit 1
;;
esac
@@ -1240,14 +1240,14 @@ i[34567]86-*-solaris2*)
# FIXME: -m64 for i[34567]86-*-* should be allowed just
# like -m32 for x86_64-*-*.
case X"${with_cpu}" in
- Xgeneric|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
+ Xgeneric|Xcore2|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
;;
X)
with_cpu=generic
;;
*)
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
- echo "generic nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
+ echo "generic core2 nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
exit 1
;;
esac
@@ -2580,6 +2580,9 @@ if test x$with_cpu = x ; then
nocona-*)
with_cpu=nocona
;;
+ core2-*)
+ with_cpu=core2
+ ;;
pentium_m-*)
with_cpu=pentium-m
;;
@@ -2599,6 +2602,9 @@ if test x$with_cpu = x ; then
nocona-*)
with_cpu=nocona
;;
+ core2-*)
+ with_cpu=core2
+ ;;
*)
with_cpu=generic
;;
@@ -2853,7 +2859,7 @@ case "${target}" in
esac
# OK
;;
- "" | k8 | opteron | athlon64 | athlon-fx | nocona | generic)
+ "" | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | generic)
# OK
;;
*)