This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: New approach to --with-cpu
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: Richard dot Earnshaw at arm dot com
- Cc: drow at mvista dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Aug 2002 10:40:54 -0400 (EDT)
- Subject: Re: RFC: New approach to --with-cpu
> But why would a *user* of the compiler want to use a different set of
> 'cost' metrics in another part of the compiler from the 'cost' metrics
> used by the scheduler?
The scheduler supports generation of code using several different
scheduling models. This allows testing of the models without having
to have a different compiler for each. Where binaries are being
distributed, the compiler may be running on the latest PA gizmo
but a more portable arch and scheduling model may be desired for
the code being distributed.
The HP ansi compiler supports options to select the target architecture,
data model, apptype, OS, and scheduler model (tuning).
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)