Does -march=r5000 imply HAVE_64BIT_GPRS?

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Fri Aug 17 02:47:00 GMT 2001


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?


Thiemo



More information about the Binutils mailing list