This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C6X port 8/11: A new FUNCTION_ARG macro
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 10 May 2011 16:57:39 +0000 (UTC)
- Subject: Re: C6X port 8/11: A new FUNCTION_ARG macro
- References: <4DC956D0.3040306@codesourcery.com> <4DC95D5A.5020105@codesourcery.com>
On Tue, 10 May 2011, Bernd Schmidt wrote:
> On C6X, we have PARM_BOUNDARY == 8 (one byte), but some function
> argument slots still must be rounded to a larger value. As far as I
> could tell there's currently no way of telling gcc about this, hence a
> new target macro which controls this behaviour.
Is there a good reason this has to be a macro rather than a hook in
targetm.calls? Hooks are generally strongly preferred.
--
Joseph S. Myers
joseph@codesourcery.com