This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] MIPS: Add cost for 5KC/5KF and dfa pipeline.
- From: David Ung <davidu at mips dot com>
- To: Richard Sandiford <richard at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 29 Jul 2005 18:25:49 +0100
- Subject: Re: [Patch] MIPS: Add cost for 5KC/5KF and dfa pipeline.
- References: <1118759617.1641.806.camel@localhost.localdomain> <1118774435.3242.25.camel@dzur.sfbay.redhat.com> <1118841695.1602.40.camel@localhost.localdomain> <1122646909.1648.42.camel@localhost.localdomain> <87br4lbowg.fsf@talisman.home>
> >
> > * config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table.
> > (mips_rtx_cost_data): Add costs for 5kc and 5kf.
> > * config/mips/mips.h (processor_type): Add PROCESSOR_5KF.
> > * config/mips/mips.md (cpu): Add 5kf name.
> > (includes): Includes 5k.md.
> > * config/mips/5k.md: New DFA pipeline for the 5kc/5kf.
>
> Looks good. You'll need to update the -march entry in invoke.texi though.
> Please check if there are other new targets that should be mentioned too.
>
> Since target maintainers have a bit of leeway, and since this is
> a very non-invasive patch, I think it can go in now, even though
> we're in stage 3. The window for this sort of change is closing
> fast though!
>
> So, OK for mainline, barring objections from Eric. I'll mention
> it in changes.html when doing the 4.0->4.1 MIPS entry.
thanks. updated docs. I've check it in.
David.
* doc/invoke.texi (MIPS Options): Updated cpu name supported with
-march flag.
Index: gcc/doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.659
diff -c -p -b -r1.659 invoke.texi
*** gcc/doc/invoke.texi 28 Jul 2005 23:37:18 -0000 1.659
--- gcc/doc/invoke.texi 29 Jul 2005 17:01:47 -0000
*************** The ISA names are:
*** 9909,9921 ****
@samp{mips1}, @samp{mips2}, @samp{mips3}, @samp{mips4},
@samp{mips32}, @samp{mips32r2}, and @samp{mips64}.
The processor names are:
! @samp{4kc}, @samp{4kp}, @samp{5kc}, @samp{20kc},
@samp{m4k},
- @samp{r2000}, @samp{r3000}, @samp{r3900}, @samp{r4000}, @samp{r4400},
- @samp{r4600}, @samp{r4650}, @samp{r6000}, @samp{r8000}, @samp{rm7000},
- @samp{rm9000},
@samp{orion},
@samp{sb1},
@samp{vr4100}, @samp{vr4111}, @samp{vr4120}, @samp{vr4130}, @samp{vr4300},
@samp{vr5000}, @samp{vr5400} and @samp{vr5500}.
The special value @samp{from-abi} selects the
--- 9909,9925 ----
@samp{mips1}, @samp{mips2}, @samp{mips3}, @samp{mips4},
@samp{mips32}, @samp{mips32r2}, and @samp{mips64}.
The processor names are:
! @samp{4kc}, @samp{4km}, @samp{4kp},
! @samp{5kc}, @samp{5kf},
! @samp{20kc},
! @samp{24k}, @samp{24kc}, @samp{24kf}, @samp{24kx},
@samp{m4k},
@samp{orion},
+ @samp{r2000}, @samp{r3000}, @samp{r3900}, @samp{r4000}, @samp{r4400},
+ @samp{r4600}, @samp{r4650}, @samp{r6000}, @samp{r8000},
+ @samp{rm7000}, @samp{rm9000},
@samp{sb1},
+ @samp{sr71000},
@samp{vr4100}, @samp{vr4111}, @samp{vr4120}, @samp{vr4130}, @samp{vr4300},
@samp{vr5000}, @samp{vr5400} and @samp{vr5500}.
The special value @samp{from-abi} selects the