]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2007-01-17 Eric Christopher <echristo@apple.com>
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2007 09:21:11 +0000 (09:21 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2007 09:21:11 +0000 (09:21 +0000)
        * config.gcc: Support core2 processor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120846 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index a8e0c18d83484a2676835d6d34b091e49a9e4eea..d87295de3e65a204a2a345c05a11eab2de50d4d5 100644 (file)
@@ -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
index 5aa991c5a8898d83d3128280a38b5cde3021d953..2f47721f68b71e0a259b501bdc2a400d737b686e 100644 (file)
@@ -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
                                ;;
                        *)