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

Anthony Barbachan (barbacha@Hinako.AMBusiness.com)
Mon, 14 Dec 1998 19:51:21 -0500 (EST)


On Sun, 13 Dec 1998, Horst von Brand wrote:

> "Anthony Barbachan" <barbacha@Hinako.AMBusiness.com> said:
>
> [...]
>
> > 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.
>
> Both egcs and pgcc are based on gcc-2.8 snapshots, but are different
> branches. pgcc has been mangled (by intel people mostly, IIRC) to get
> better performance for Pentia. The egcs folks are migrating the
> optimizations in pgcc into egcs, but the discussions on the relevant list
> indicate that many of the optimizations weren't integrated reasonably into
> the gcc framework, and that there were many bugs. The latest pgcc sources
> might well have integrated patches from egcs.
>

Perhaps you are thinking of a different pgcc than I am. The one I use is
from the Pentium GCC compiler group or something like that. I;ve seen
their announcements on freshmeat.net. The do not distribute sources, only
patches to egcs. (Latest patch for egcs 1.1.1) If you look on their web
site they even say they switched to egcs from gcc as their base compiler
platform.

> > >3. What is the reason a 486 configured kernel will not run on the 386?
> > > It's evidently not the compiler as far as I can tell from my
> > > gcc-2.7.2.x/pgcc-1.1.1 documentation.
>
> > If I remember correctly it has something to do with the alignment in memory.
> > Not sure though.
>
> The i486 has several instructions and memory handling registers that differ
> from i386. IIRC, i386 has several design flaws that make reliable memory
> protection impossible.
> --
> Horst von Brand vonbrand@sleipnir.valparaiso.cl
> Casilla 9G, Viņa del Mar, Chile +56 32 672616
>

-
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/