This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)
On Sun, Nov 04, 2001 at 11:08:27PM +0100, Thiemo Seufer wrote:
> H . J . Lu wrote:
> [snip]
> > > > Given today's gcc/gas, what do you suggest we should do if we want to
> > > > generate 32bit instructions and accept the CPU specific instructions
> > > > for a CPU, which supports MIPS 3 and above, without modifying the
> > > > source code?
> > >
> > > I would try -march=vr4100 -mfp32 -mgp32.
> >
> > How can it work? I cannot pass -mips3/-march=vr4100 to gcc since it
> > may generate 64bit codes. Basically, I have to pass "-mips2" to gcc.
>
> Does this mean your gcc has no -mfp32/-mgp32 options?
>
My gcc has -mfp32/-mgp32. However, I don't know if it will do the
right thing for -march=vr4100/-mips3 -mfp32 -mgp32. I don't want to
experiment with gcc. "-march=vr4100 -mips2" had been working fine
before. Also we do allow "-march=4010/ -mips2". The only difference
here is vr4100 implements MIPS 3 which is a super set of MIPS 2.
H.J.