diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-17 09:21:11 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-17 09:21:11 +0000 |
commit | 5d26658320ed0f76bbd7c3fd34b08fd0275b0a41 (patch) | |
tree | ab8db6f7488025ac57c2fe40b7c744e4ded9a3b1 /gcc | |
parent | 58ea194d16887e1f729371cd353368abe9f03e47 (diff) | |
download | gcc-5d26658320ed0f76bbd7c3fd34b08fd0275b0a41.tar.gz |
2007-01-17 Eric Christopher <echristo@apple.com>
* config.gcc: Support core2 processor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120846 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config.gcc | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a8e0c18d834..d87295de3e6 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 5aa991c5a88..2f47721f68b 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 ;; *) |