[PATCH] PR target/34814 Force SDmode function args into FP registers per the ABI
Peter Bergner
bergner@vnet.ibm.com
Thu Jan 24 20:37:00 GMT 2008
On Thu, 2008-01-24 at 10:22 -0800, Ian Lance Taylor wrote:
> Peter Bergner <bergner@vnet.ibm.com> writes:
>
> > +/* By default, do nothing. */
> > +
> > +void
> > +default_scan_vars (void)
> > +{
> > + return;
> > +}
> > +
> > +/* By default, do nothing. */
> > +
> > +void
> > +default_instantiate_decls (void)
> > +{
> > + return;
> > +}
>
> Don't introduce these new functions. Instead, use hook_void_void as
> the default.
Ah, I didn't know that existed, ok, I'll use that.
> scan_vars doesn't seem like a very good name to me; it's too generic.
> What you are looking for a special hook to use at expand time. The
> name should include the word "expand".
Do you have a suggestion? If not, is something like pre_expand_vars ok?
> The new target hooks must be documented in doc/tm.texi.
>
> Please resend with changes--I'm only interested in the machine
> independent parts, David can look at the patches to the rs6000
> directory.
Ok, I'll change the code per your suggestions and repost along with
the changes David wants. Thanks!
Peter
More information about the Gcc-patches
mailing list