linux-mips
[Top] [All Lists]

Re: GCCFLAGS for gcc 3.3.x (-march and _MIPS_ISA)

To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Subject: Re: GCCFLAGS for gcc 3.3.x (-march and _MIPS_ISA)
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 12 Aug 2003 15:56:27 +0200 (MET DST)
Cc: linux-mips@linux-mips.org
In-reply-to: <20030812065118.GD23104@rembrandt.csv.ica.uni-stuttgart.de>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Tue, 12 Aug 2003, Thiemo Seufer wrote:

> If the intention is to use mfc0 for 32bit kernels and dmfc0 for 64bit,
> the check should probably be
> 
> #ifdef __mips64
> # define MFC0         dmfc0
> # define MTC0         dmtc0
> #else
> # define MFC0         mfc0
> # define MTC0         mtc0
> #endif

 I'd go for CONFIG_MIPS64 here.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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