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: C6X port 8/11: A new FUNCTION_ARG macro


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


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