linux-mips
[Top] [All Lists]

Re: gcc: mips32 vs mips3

To: Marian Jancar <m.jancar@satca.net>
Subject: Re: gcc: mips32 vs mips3
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 9 Mar 2009 20:39:02 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <49B1556E.3030903@satca.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <49B1556E.3030903@satca.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Mar 06, 2009 at 05:55:10PM +0100, Marian Jancar wrote:

> which option is supposed to compile faster code, -mips3 or -mips32?

That question doesn't quite make sense.   A MIPS32 processor can't execute
MIPS III code and a MIPS III processor can't execute MIPS32 code.  Only a
MIPS64 processor could execute code compiled for either MIPS32 or MIPS III.
So choose the option to match the architecture of your processor.

  Ralf

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