* gcc options for kernel 2.4.x build on miata
@ 2001-12-05 15:44 Ghozlane Toumi
2001-12-05 16:10 ` Jay Estabrook
0 siblings, 1 reply; 5+ messages in thread
From: Ghozlane Toumi @ 2001-12-05 15:44 UTC (permalink / raw)
To: axp-list
Hi all ...
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" ?
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 ...
Does anyone know if it's safe/optimal to use these flags ?
thanks...
ghoz
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc options for kernel 2.4.x build on miata
2001-12-05 15:44 gcc options for kernel 2.4.x build on miata Ghozlane Toumi
@ 2001-12-05 16:10 ` Jay Estabrook
2001-12-05 17:20 ` Ghozlane Toumi
0 siblings, 1 reply; 5+ messages in thread
From: Jay Estabrook @ 2001-12-05 16:10 UTC (permalink / raw)
To: axp-list
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
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc options for kernel 2.4.x build on miata
2001-12-05 16:10 ` Jay Estabrook
@ 2001-12-05 17:20 ` Ghozlane Toumi
2001-12-05 18:02 ` Ghozlane Toumi
2001-12-05 22:21 ` Jay Estabrook
0 siblings, 2 replies; 5+ messages in thread
From: Ghozlane Toumi @ 2001-12-05 17:20 UTC (permalink / raw)
To: axp-list
On Wednesday 05 December 2001 11:10, Jay Estabrook wrote:
> > is there any reason why it doesn't use "-mcpu=ev56" ?
> It should, dunno why it doesn't. Check the arch/alpha/Makefile.
it seems the kernel doesn't know (yet) about the miata , and use a "generic"
flag ... i'll try with -ev56 to see if it changes anything ...
> 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.
ok ...
taking a look at 2.2.x and early 2.3.x (x<30) , it seems that te kernel was
using specific assembler flags for the different systems (-Wa,-m21164a
-DBWIO_ENABLED) for miata ...
Just out of curiosity, ( i dont seem to find any information on these swithes
beside as --help wich is nor exacly verbose on that) : what happens if
one tries to assemble an ev6 instruction using -Wa,-m21164a or -Wa,-mev5 ?
will the assembler stop, or does it try to emulate the instruction ?
ghoz
>
> --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
> ---------------------------------------------------------------------------
>--
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc options for kernel 2.4.x build on miata
2001-12-05 17:20 ` Ghozlane Toumi
@ 2001-12-05 18:02 ` Ghozlane Toumi
2001-12-05 22:21 ` Jay Estabrook
1 sibling, 0 replies; 5+ messages in thread
From: Ghozlane Toumi @ 2001-12-05 18:02 UTC (permalink / raw)
To: axp-list
On Wednesday 05 December 2001 12:20, Ghozlane Toumi wrote:
> it seems the kernel doesn't know (yet) about the miata , and use a
> "generic" flag ... i'll try with -ev56 to see if it changes anything ...
I stand corrected .\r\rI guess I forgot make deping or something before
compiling, because the kernel now builds with "-mcpu=ev56 -Wa,-mev6"
so if the "-Wa,-mev6" is ok, everything is ok ...
thank you ...
ghoz
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc options for kernel 2.4.x build on miata
2001-12-05 17:20 ` Ghozlane Toumi
2001-12-05 18:02 ` Ghozlane Toumi
@ 2001-12-05 22:21 ` Jay Estabrook
1 sibling, 0 replies; 5+ messages in thread
From: Jay Estabrook @ 2001-12-05 22:21 UTC (permalink / raw)
To: axp-list
On Wed, Dec 05, 2001 at 12:20:27PM -0500, Ghozlane Toumi wrote:
>
> Just out of curiosity, ( i dont seem to find any information on
> these swithes beside as --help wich is nor exacly verbose on that) :
> what happens if one tries to assemble an ev6 instruction using
> -Wa,-m21164a or -Wa,-mev5 ? will the assembler stop, or does it try
> to emulate the instruction ?
It will just give an error and stop.
--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
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-12-05 22:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05 15:44 gcc options for kernel 2.4.x build on miata Ghozlane Toumi
2001-12-05 16:10 ` Jay Estabrook
2001-12-05 17:20 ` Ghozlane Toumi
2001-12-05 18:02 ` Ghozlane Toumi
2001-12-05 22:21 ` Jay Estabrook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox