Re: [PATCH] Support new egcs/pgcc -mpentium(pro) options

Marc Lehmann (pcg@goof.com)
Mon, 14 Dec 1998 04:43:22 +0100


On Sun, Dec 13, 1998 at 01:39:51PM +0100, Matthias Andree wrote:
> On Sun, 13 Dec 1998, Anthony Barbachan wrote:
>
> > Yes it does. BTW, GNU is recommending the -m{cpu name} not be used as it is
> > going to be fazed out in the future. The new style
> > is -mcpu=pentium, -mcpu=pentiumpro. (also -mcpu=586,686 if I remember
> > correctly)
> > And pegcs has -mamdk6 for the AMD K6, and I think another one for Cyrixes
> > too.

And egcs has one, too, but its named -mk6

Even worse, the pgcc snapshots now also use -mk6, while the releases
retain -mamdk6

> What is pegcs and where can I find it? I regretfully don't have the

http://www.goof.com/pcg/

> > BTW, according to pgcc's web site to get the maximum, safe, optimizations
> > using their compiler you should use the -O6 option.
>
> Okay, will be set in next patch version.

A better phrase for -O6 would be "maximum, not-break-everything optimizations"

> > The pentium and pentium pro options appeared in gcc 2.8.0, which is what
> > egcs is based on, and pgcc is an addon to egcs.

Not quite, -mpentium appeared in pgcc, and I believe -mpentiumpro also. The
next compiler that used it was egcs. Gcc was the last one of the gcc family
with these switches.

-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/