This is the mail archive of the gcc@gcc.gnu.org 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]

Re: Target CPU default selection on alpha



> 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


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