This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do we target Athlon MP?

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:
> and use --with-cpu=athlon-mp.


Hey, would someone kindly review
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.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]