mips.h (enum processor_type): Sort entries alphabetically.
authorChris Demetriou <cgd@broadcom.com>
Tue, 18 Feb 2003 23:24:23 +0000 (23:24 +0000)
committerChris Demetriou <cgd@gcc.gnu.org>
Tue, 18 Feb 2003 23:24:23 +0000 (15:24 -0800)
2003-02-18  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (enum processor_type): Sort entries
        alphabetically.
        * config/mips/mips.md (define_attr cpu): Sync with processor_type
        enum values, including adding entries that were missing.

From-SVN: r63065

gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/mips/mips.md

index e7529f15d39a7685c97fd2a8ef549e0d447201dc..9b5a67bb52f07c5dfbe23c3e16dd5887c0df1c07 100644 (file)
@@ -1,3 +1,10 @@
+2003-02-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/mips/mips.h (enum processor_type): Sort entries
+       alphabetically.
+       * config/mips/mips.md (define_attr cpu): Sync with processor_type
+       enum values, including adding entries that were missing.
+
 Tue Feb 18 20:15:54 2003  J"orn Rennecke <joern.rennecke@superh.com>
 
        * sh.c (calc_live_regs): Also check GET_CODE when checking if initial value
index e76a7395259fd379600b7fb99e61e65766849c3a..d1f02b85a0c1496bd22650f6c6892fbddd101415 100644 (file)
@@ -58,6 +58,10 @@ enum delay_type {
 
 enum processor_type {
   PROCESSOR_DEFAULT,
+  PROCESSOR_4KC,
+  PROCESSOR_5KC,
+  PROCESSOR_20KC,
+  PROCESSOR_M4K,
   PROCESSOR_R3000,
   PROCESSOR_R3900,
   PROCESSOR_R6000,
@@ -72,12 +76,8 @@ enum processor_type {
   PROCESSOR_R5400,
   PROCESSOR_R5500,
   PROCESSOR_R8000,
-  PROCESSOR_4KC,
-  PROCESSOR_5KC,
-  PROCESSOR_20KC,
-  PROCESSOR_M4K,
-  PROCESSOR_SR71000,
-  PROCESSOR_SB1
+  PROCESSOR_SB1,
+  PROCESSOR_SR71000
 };
 
 /* Recast the cpu class to be the cpu attribute.  */
index 0f67e3f1e829fe66d03ff97236ad072fc10242ba..a477d8799a01d6abd8ace80d08052394300b7c21 100644 (file)
 
 ;; ??? Fix everything that tests this attribute.
 (define_attr "cpu"
-  "default,r3000,r3900,r6000,r4000,r4100,r4111,r4120,r4300,r4600,r4650,r5000,r5400,r5500,r8000,sr71000,r4kc,r5kc,r20kc"
+  "default,4kc,5kc,20kc,m4k,r3000,r3900,r6000,r4000,r4100,r4111,r4120,r4300,r4600,r4650,r5000,r5400,r5500,r8000,sb1,sr71000"
   (const (symbol_ref "mips_cpu_attr")))
 
 ;; Does the instruction have a mandatory delay slot?