linux-mips
[Top] [All Lists]

Re: Change -mcpu option for VR41xx

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: Change -mcpu option for VR41xx
From: Yoichi Yuasa <yoichi_yuasa@montavista.co.jp>
Date: Tue, 25 Feb 2003 12:48:50 +0900
Cc: yoichi_yuasa@montavista.co.jp, linux-mips@linux-mips.org
In-reply-to: <20030224212146.A764@linux-mips.org>
Organization: MontaVista Software Japan, Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030224210755.1f5fac0a.yoichi_yuasa@montavista.co.jp> <20030224212146.A764@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

On Mon, 24 Feb 2003 21:21:46 +0100
Ralf Baechle <ralf@linux-mips.org> wrote:

> On Mon, Feb 24, 2003 at 09:07:55PM +0900, Yoichi Yuasa wrote:
> 
> > We need to change -mcpu in order to use an instruction peculiar to VR4100.
> > The option of -mcpu changes with versions of binutils.
> > 
> > If it is limited to some versions, I can be corresponded using check_gcc.
> > Can you tell me some versions of binutils?
> 
> Binutils starting with about 2.10 should support -mcpu=4100.

I checked about some binutils.

binutils -mcpu option for VR4100 series

2.10:
        * VR4100
        * vr4100
        * 4100
        * mips64vr4100
        * r4100

2.11:
2.12:
2.13:
        * VR4100
        * 4100
        * mips64vr4100
        * r4100

In addition for the VR4100 series, there is an -m4100 option.

As for us, it is best to use the following option.

GCCFLAGS        += -mcpu=r4100 -mips2 -Wa,-m4100,--trap

Would you apply this patch to CVS?

Thanks,

Yoichi

Attachment: vr41xx-makefile-v24.diff
Description: Text document

Attachment: vr41xx-makefile-v25.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>