* Kernel and cpu version
@ 2002-03-18 0:47 Michael J. Saletnik
2002-03-18 11:28 ` Måns Rullgård
0 siblings, 1 reply; 3+ messages in thread
From: Michael J. Saletnik @ 2002-03-18 0:47 UTC (permalink / raw)
While building 2.4.18 today for my Alcor, I happened to notice a few
interesting tidbits in arch/alpha/Makefile, which date back at least
as far as 2.4.12.
First of all, there's no entry for CONFIG_ALPHA_ALCOR, so I end up not
getting a -mcpu=ev56 in my build.
But what really caught my eye was this line:
CFLAGS := $(CFLAGS) -Wa,-mev6
which *unconditionally* sets the assembler to use ev6
instructions. Is this correct?
--
{michael}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel and cpu version
2002-03-18 0:47 Kernel and cpu version Michael J. Saletnik
@ 2002-03-18 11:28 ` Måns Rullgård
2002-03-18 12:42 ` Michael J. Saletnik
0 siblings, 1 reply; 3+ messages in thread
From: Måns Rullgård @ 2002-03-18 11:28 UTC (permalink / raw)
"Michael J. Saletnik" <michael@ties.org> writes:
> While building 2.4.18 today for my Alcor, I happened to notice a few
> interesting tidbits in arch/alpha/Makefile, which date back at least
> as far as 2.4.12.
>
> First of all, there's no entry for CONFIG_ALPHA_ALCOR, so I end up not
> getting a -mcpu=ev56 in my build.
>
> But what really caught my eye was this line:
>
> CFLAGS := $(CFLAGS) -Wa,-mev6
>
> which *unconditionally* sets the assembler to use ev6
> instructions. Is this correct?
I've noticed that also. Things seem to work anyhow on both ev45 and
ev56 cpus. AFAIK the flag to the assembler is just what instructions
to allow. After all the assembler does not really do any work, it just
assembles the instructions fed to it by the compiler. As long as the
compiler flags are correct it should be no problem.
--
M�ns Rullg�rd
e99_mru@e.kth.se
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel and cpu version
2002-03-18 11:28 ` Måns Rullgård
@ 2002-03-18 12:42 ` Michael J. Saletnik
0 siblings, 0 replies; 3+ messages in thread
From: Michael J. Saletnik @ 2002-03-18 12:42 UTC (permalink / raw)
mru@users.sf.net (M�ns Rullg�rd) writes:
> ev56 cpus. AFAIK the flag to the assembler is just what instructions
> to allow. After all the assembler does not really do any work, it
True. Not being familiar with 'as', though, I wasn't sure if there
were implications for stubs, macro expansions, or even
optimizations. But since it works for everyone...
:-)
--
{michael}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-18 12:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-18 0:47 Kernel and cpu version Michael J. Saletnik
2002-03-18 11:28 ` Måns Rullgård
2002-03-18 12:42 ` Michael J. Saletnik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox