Patch: Use tm_defines to configure default scheduling model on PA
DJ Delorie
dj@redhat.com
Wed Jun 12 10:23:00 GMT 2002
> > 2002-06-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
> >
> > * Makefile.in (tm_defines): New configuration variable.
> > (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES.
> > Pass tm_defines in TM_DEFINES.
> > (cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES.
> > * config.gcc (tm_defines): New configuration variable.
> > (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and
> > pa-7100.h headers. Change hppa1* scheduling default to 7100LC.
> > * configure.in: Substitute tm_defines.
> > * configure: Rebuilt.
> > * mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES.
> > * pa/pa-700.h: Delete file.
> > * pa/pa-7100.h: Delete file.
>
> The above patch has not been reviewed. Could one of the build machinery
> maintainers review it?
Sorry I missed it, but the subject line was a bit misleading. The
patch is fine. However, the PPC already has a way of selecting the
default CPU (and thus scheduling etc) with a configure option and
config.gcc. Did you look at that mechanism before implementing this
one?
And I predict that at some point in the future, there will be a thread
about how all those defines in config.gcc are cluttering up the
script, and why can't we put them all in target-specific headers?
More information about the Gcc-patches
mailing list