This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Target CPU default selection on alpha
- To: law at cygnus dot com
- Subject: Re: Target CPU default selection on alpha
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Mon, 21 Dec 1998 20:23:05 +0100 (MET)
- Cc: Richard Henderson <rth at cygnus dot com>, egcs at egcs dot cygnus dot com
- References: <19981218203058.A23463@dot.cygnus.com><8333.914215139@upchuck>
> The PA (and other) ports have always done it like the alpha too.
>From a quick check of current CVS configure.in, the c*-convex-*, several
hppa1.1-*-* and hppa2*-*-*, the i[4-7]86-*-* and alpha*-*-* targets behave
this way. All others default to the least common denominator.
> There isn't any kind of consistency in this area. For example the ppc
> defaults to "common" mode.
Than perhaps now it's time to become consistent, or at least document why
some targets have a different default.
> It's not 100% clear that either choice is right. There's arguments for
> and against defaulting to the least common denominator for code generation.
What are the primary arguments against defaulting to least common
denominator, beyond performance?
I think the decision should be left to the user. Or at least the user
should be aware of the choice and it's consequences.
Rainer