This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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)


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