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 89d28bc..9e37e7f 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 7f806d4..f83ed7e 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,