]> gcc.gnu.org Git - gcc.git/commitdiff
config.gcc (mipsisa64sb1-*-elf*): New configuration.
authorChris Demetriou <cgd@broadcom.com>
Fri, 2 Aug 2002 01:16:09 +0000 (01:16 +0000)
committerChris Demetriou <cgd@gcc.gnu.org>
Fri, 2 Aug 2002 01:16:09 +0000 (18:16 -0700)
2002-08-01  Chris Demetriou  <cgd@broadcom.com>

        * config.gcc (mipsisa64sb1-*-elf*): New configuration.
        (mipsisa64sb1el-*-elf*): Likewise.
        * config/mips/mips.c (mips_cpu_info_table): Add sb1.
        * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
        (TARGET_SB1, TUNE_SB1): New macros.
        * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
        -mtune flags.

From-SVN: r55965

gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/doc/invoke.texi

index 480722d12b6abf70dc9f4943ceb40ccec95d9341..2c9ce6b7f646618dfb07a9b85429cc85d07b00fb 100644 (file)
@@ -1,3 +1,13 @@
+2002-08-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * config.gcc (mipsisa64sb1-*-elf*): New configuration.
+       (mipsisa64sb1el-*-elf*): Likewise.
+       * config/mips/mips.c (mips_cpu_info_table): Add sb1.
+       * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
+       (TARGET_SB1, TUNE_SB1): New macros.
+       * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
+       -mtune flags.
+
 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
 
        * varasm.c (asm_emit_uninitialized): Return false if global BSS
index d04f4ce6baae2458dc582cfe4af9261be6f3fe58..f4b4e0122756c30ac4662d757fcca23515ac3f2f 100644 (file)
@@ -610,6 +610,9 @@ const struct mips_cpu_info mips_cpu_info_table[] = {
   { "5kc", PROCESSOR_R5KC, 64 },
   { "20kc", PROCESSOR_R20KC, 64 },
 
+  /* Broadcom SB-1 CPU core */
+  { "sb1", PROCESSOR_SB1, 64 },
+
   /* End marker */
   { 0, 0, 0 }
 };
index 4759345c4acd85671f6d5520c0f2e6a1eeb168e1..3fae4ec37bf9ebda1f8d805b083cda13d5e178b7 100644 (file)
@@ -70,7 +70,8 @@ enum processor_type {
   PROCESSOR_R8000,
   PROCESSOR_R4KC,
   PROCESSOR_R5KC,
-  PROCESSOR_R20KC
+  PROCESSOR_R20KC,
+  PROCESSOR_SB1
 };
 
 /* Recast the cpu class to be the cpu attribute.  */
@@ -352,6 +353,7 @@ extern void         sbss_section PARAMS ((void));
 #define TARGET_MIPS4300             (mips_arch == PROCESSOR_R4300)
 #define TARGET_MIPS4KC              (mips_arch == PROCESSOR_R4KC)
 #define TARGET_MIPS5KC              (mips_arch == PROCESSOR_R5KC)
+#define TARGET_SB1                  (mips_arch == PROCESSOR_SB1)
 
 /* Scheduling target defines.  */
 #define TUNE_MIPS3000               (mips_tune == PROCESSOR_R3000)
@@ -359,6 +361,7 @@ extern void         sbss_section PARAMS ((void));
 #define TUNE_MIPS4000               (mips_tune == PROCESSOR_R4000)
 #define TUNE_MIPS5000               (mips_tune == PROCESSOR_R5000)
 #define TUNE_MIPS6000               (mips_tune == PROCESSOR_R6000)
+#define TUNE_SB1                    (mips_tune == PROCESSOR_SB1)
 
 /* Define preprocessor macros for the -march and -mtune options.
    PREFIX is either _MIPS_ARCH or _MIPS_TUNE, INFO is the selected
index fb911977246486efce3d28289d60f8cf0982a4ee..a29f5e395a0fdcbbf4a2c74a754d5a75a8f4bdb6 100644 (file)
@@ -7006,8 +7006,8 @@ are: @samp{mips1}, @samp{mips2}, @samp{mips3}, @samp{mips4}, @samp{mips32}
 and @samp{mips64}.  The processor names are: @samp{r2000},
 @samp{r3000}, @samp{r3900}, @samp{r4000}, @samp{vr4100}, @samp{vr4300},
 @samp{r4400}, @samp{r4600}, @samp{r4650}, @samp{vr5000}, @samp{r6000},
-@samp{r8000}, @samp{4kc}, @samp{4kp}, @samp{5kc}, @samp{20kc}
-and @samp{orion}.  The special value @samp{from-abi} selects the
+@samp{r8000}, @samp{4kc}, @samp{4kp}, @samp{5kc}, @samp{20kc},
+@samp{orion}, and @samp{sb1}.  The special value @samp{from-abi} selects the
 most compatible architecture for the selected ABI (that is,
 @samp{mips1} for 32-bit ABIs and @samp{mips3} for 64-bit ABIs)@.
 
This page took 0.120279 seconds and 5 git commands to generate.