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

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 13 Dec 1998 14:40:22 -0400


"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.

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