This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Add Toshiba TX49 support
Eric Christopher <echristo@redhat.com> writes:
> On Mon, 2002-11-11 at 14:41, Nathan Sidwell wrote:
> > cgd@broadcom.com wrote:
> > > At Mon, 11 Nov 2002 21:22:06 +0000 (UTC), "Nathan Sidwell" wrote:
> > >
> > >>I picked -m4900 as the cpu flag,
> > > Err, "we don't do machine flags like that anymore." (looks like
> > > you've already set it up to do -march/-mtune.)
> > I'll check I've got the docs consistent
> >
> > > Is it really called the r4900 (rather than tx4900)? If the latter,
> > > you probably should name it the latter.
> > It's named constently with toshiba's tx39 variant. I agree tx49 might
> > be a better name, were it not for that history.
> >
>
> -march=tx49 would be appreciated :)
How about having "tx49" as the (only) entry in mips_cpu_info_table[]
and changing mips_matching_cpu_name_p() to allow things like "rYY00"
to match "txYY"?
Then, when similar code is added to gcc, -march=r4900 will set
_MIPS_ARCH and _MIPS_TUNE to the same values as -march=tx49.
Richard