C6X port 8/11: A new FUNCTION_ARG macro

Joseph S. Myers joseph@codesourcery.com
Tue May 10 18:55:00 GMT 2011


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



More information about the Gcc-patches mailing list