This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Does -march=r5000 imply HAVE_64BIT_GPRS?


On Fri, Aug 17, 2001 at 11:47:35AM +0200, Thiemo Seufer wrote:
> H . J . Lu wrote:
> > On Fri, Aug 17, 2001 at 01:06:42AM +0200, Thiemo Seufer wrote:
> > > 
> > > [snip]
> > > > +  if (mips_opts.isa != mips_isa_from_cpu)
> > > > +    {
> > > > +      const struct mips_cpu_info *isa_ci;
> > > > +
> > > > +      /* -march=xxxx is not compatible with -mipsN. We use -mipsN to
> > > > +	 set the BFD arch.  */
> > > 
> > > Why should they be incompatible?
> > 
> > mips_isa_from_cpu set by -march=r5000 is ISA_MIPS4. But mips_opts.isa
> > from -mips2 is ISA_MIPS2.
> 
> Well, and why shouldn't an arch be allowed to use a ISA below it's
> default _and_ it's arch specific insns in the same code?

That is exactly what my patch does. With "-march=r5000 -mips2",
currently we set the ISA level to MIPS4 in BFD. That is my
original problem. My patch will change it to set the ISA level
to MIPS2 in BFD.

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]