How do we target Athlon MP?

Daniel Jacobowitz drow@mvista.com
Fri Aug 9 21:31:00 GMT 2002


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.

(Actually, you can do it now: athlon_mp-pc-linux-gnu should work.)

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc mailing list