rs6000-opts.h (enum processor_type): Reorder.
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 31 May 2013 18:15:01 +0000 (20:15 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 31 May 2013 18:15:01 +0000 (20:15 +0200)
2013-05-31  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/
        * config/rs6000/rs6000-opts.h (enum processor_type): Reorder.
        * config/rs6000/rs6000.md (cpu): Reorder.  Split long line.
        Fix comment.

From-SVN: r199555

gcc/ChangeLog
gcc/config/rs6000/rs6000-opts.h
gcc/config/rs6000/rs6000.md

index f357e85a759d4fb1ef3fc9d3d2632f2771f805c7..889c6d286a3b2728edf311100ba5b8211211abff 100644 (file)
@@ -1,3 +1,9 @@
+2013-05-31  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/rs6000-opts.h (enum processor_type): Reorder.
+       * config/rs6000/rs6000.md (cpu): Reorder.  Split long line.
+       Fix comment.
+
 2013-05-31  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
            Igor Zamyatin  <igor.zamyatin@intel.com>
 
index e143a4ca20371762d49a6c827dbae30497a9dfe5..d528a4fd87a96f9784443f96e7b3fc9272589593 100644 (file)
 /* Processor type.  Order must match cpu attribute in MD file.  */
 enum processor_type
  {
-   PROCESSOR_RS64A,
-   PROCESSOR_MPCCORE,
-   PROCESSOR_PPC403,
-   PROCESSOR_PPC405,
-   PROCESSOR_PPC440,
-   PROCESSOR_PPC476,
    PROCESSOR_PPC601,
    PROCESSOR_PPC603,
    PROCESSOR_PPC604,
    PROCESSOR_PPC604e,
    PROCESSOR_PPC620,
    PROCESSOR_PPC630,
+
    PROCESSOR_PPC750,
    PROCESSOR_PPC7400,
    PROCESSOR_PPC7450,
+
+   PROCESSOR_PPC403,
+   PROCESSOR_PPC405,
+   PROCESSOR_PPC440,
+   PROCESSOR_PPC476,
+
    PROCESSOR_PPC8540,
    PROCESSOR_PPC8548,
    PROCESSOR_PPCE300C2,
@@ -53,16 +54,21 @@ enum processor_type
    PROCESSOR_PPCE500MC64,
    PROCESSOR_PPCE5500,
    PROCESSOR_PPCE6500,
+
    PROCESSOR_POWER4,
    PROCESSOR_POWER5,
    PROCESSOR_POWER6,
    PROCESSOR_POWER7,
+   PROCESSOR_POWER8,
+
+   PROCESSOR_RS64A,
+   PROCESSOR_MPCCORE,
    PROCESSOR_CELL,
    PROCESSOR_PPCA2,
-   PROCESSOR_TITAN,
-   PROCESSOR_POWER8
+   PROCESSOR_TITAN
 };
 
+
 /* FP processor type.  */
 enum fpu_type_t
 {
index 013a0e38551f2d722844ac0e148b8639f0f24cf6..6be05a4f0f722c91cdeec179a1beec09ba8f9181 100644 (file)
                (const_int 4)))
 
 ;; Processor type -- this attribute must exactly match the processor_type
-;; enumeration in rs6000.h.
-
-(define_attr "cpu" "rs64a,mpccore,ppc403,ppc405,ppc440,ppc476,ppc601,ppc603,ppc604,ppc604e,ppc620,ppc630,ppc750,ppc7400,ppc7450,ppc8540,ppc8548,ppce300c2,ppce300c3,ppce500mc,ppce500mc64,ppce5500,ppce6500,power4,power5,power6,power7,cell,ppca2,titan,power8"
+;; enumeration in rs6000-opts.h.
+(define_attr "cpu"
+  "ppc601,ppc603,ppc604,ppc604e,ppc620,ppc630,
+   ppc750,ppc7400,ppc7450,
+   ppc403,ppc405,ppc440,ppc476,
+   ppc8540,ppc8548,ppce300c2,ppce300c3,ppce500mc,ppce500mc64,ppce5500,ppce6500,
+   power4,power5,power6,power7,power8,
+   rs64a,mpccore,cell,ppca2,titan"
   (const (symbol_ref "rs6000_cpu_attr")))