Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: axp-list@redhat.com
Subject: Re: gcc options for kernel 2.4.x build on miata
Date: Wed, 5 Dec 2001 11:10:27 -0500	[thread overview]
Message-ID: <20011205111027.A6202@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <20011205154248.LALZ24249.tomts11-srv.bellnexxia.net@there>; from ghoz@sympatico.ca on Wed, Dec 05, 2001 at 10:44:57AM -0500

On Wed, Dec 05, 2001 at 10:44:57AM -0500, Ghozlane Toumi wrote:
> 
> I just noticed that when building a 2.4.x kernels on a miata  (PWS 433au) , 
> the kernel uses the following optimisations flags  : "-mcpu=ev5 -Wa,-mev6"
> 
> Knowing that this box has an ev56 (/cpu/procinfo just confirmed this), 
> is there any reason why it doesn't use "-mcpu=ev56" ?

It should, dunno why it doesn't. Check the arch/alpha/Makefile.

> and uh.. well.. why the hell does it asks the assembler to build an ev6 
> binary ? i thought ev56 and ev5 where almost the same, but ev6 was another 
> generation ...

That switch (-Wa,-mev6) allows the assembler to process EV6 instructions.
This is necessary for "generic" kernels, in which there may be EV6 insns
explicitly included. It's not strictly needed for a MIATA kernel, but it
shouldn't hurt anything.

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K15         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------




  reply	other threads:[~2001-12-05 16:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-05 15:44 gcc options for kernel 2.4.x build on miata Ghozlane Toumi
2001-12-05 16:10 ` Jay Estabrook [this message]
2001-12-05 17:20   ` Ghozlane Toumi
2001-12-05 18:02     ` Ghozlane Toumi
2001-12-05 22:21     ` Jay Estabrook
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox