How do we target Athlon MP?
Phil Edwards
phil@jaj.com
Sat Aug 10 11:26:00 GMT 2002
On Sat, Aug 10, 2002 at 12:31:40AM -0400, Daniel Jacobowitz wrote:
> On Fri, Aug 09, 2002 at 03:46:31PM -0700, Richard Henderson wrote:
> > On Thu, Aug 08, 2002 at 05:22:04PM -0400, Phil Edwards wrote:
> > > I see that config.gcc recognizes athlon_mp as a machine name, but config.sub
> > > won't accept it. It later seems to look at a - instead of a _ but of course
> > > "athlon-mp" becomes "athlon-mp-pc-linux-gnu", and "mp" isn't a vendor.
> > >
> > > What triplet should I be using?
> >
> > At the moment there isn't one. Use -march=athlon-mp?
>
> Or ask someone to review:
> http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00203.html
> and use --with-cpu=athlon-mp.
Okay:
Hey, would someone kindly review
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg00203.html
so that we can configure using --with-cpu=athlon-mp?
:-)
> (Actually, you can do it now: athlon_mp-pc-linux-gnu should work.)
config.gcc knows about it, but the toplevel/FSF config.sub does not.
It accepts "athlon" and "athlon-*", but the "*" replaces "pc". And then
"athlon-mp-linux-gnu" fails later tests. The athlon_* isn't accepted at all.
I'm the middle of patching it to accept the underscore forms now, but the
--with-cpu thing should go in regardless, it's very nice IMHO.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002
More information about the Gcc
mailing list