]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (override_options): Use CPU_AMDFAM10 instead of PROCESSOR_AMDFAM10 for barcelo...
authorJakub Jelinek <jakub@redhat.com>
Sat, 6 Dec 2008 12:47:51 +0000 (13:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 6 Dec 2008 12:47:51 +0000 (13:47 +0100)
* config/i386/i386.c (override_options): Use CPU_AMDFAM10
instead of PROCESSOR_AMDFAM10 for barcelona's schedule.

From-SVN: r142522

gcc/ChangeLog
gcc/config/i386/i386.c

index 89d28bc1bbc924281d1663cfa88922a19080878d..9e37e7fffdb58160cb8b6717c58dd14d147f1db9 100644 (file)
@@ -1,5 +1,8 @@
 2008-12-06  Jakub Jelinek  <jakub@redhat.com>
 
+       * config/i386/i386.c (override_options): Use CPU_AMDFAM10
+       instead of PROCESSOR_AMDFAM10 for barcelona's schedule.
+
        PR middle-end/38422
        * fold-const.c (fold_unary) <CASE_CONVERT>: Don't convert MULT_EXPR
        operands to mult_type if it isn't narrower than op0's type.
index 7f806d4dcc64484ed3a51fe16c88499d9f20bed6..f83ed7e14b9f592c1dfb554591574f8493708067 100644 (file)
@@ -2571,7 +2571,7 @@ override_options (bool main_args_p)
       {"amdfam10", PROCESSOR_AMDFAM10, CPU_AMDFAM10,
        PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE
        | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM},
-      {"barcelona", PROCESSOR_AMDFAM10, PROCESSOR_AMDFAM10,
+      {"barcelona", PROCESSOR_AMDFAM10, CPU_AMDFAM10,
        PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE
        | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM},
       {"generic32", PROCESSOR_GENERIC32, CPU_PENTIUMPRO,