On Sat, 22 May 2021, H.J. Lu via Gcc-patches wrote:

> 1. Update PUSH_ARGS to accept an argument.  When the PUSH instruction
> usage is optional, pass the number of bytes to push to PUSH_ARGS so that
> the backend can decide if PUSH instructions should be generated.
> 2. Change x86 PUSH_ARGS to return 0 when number of bytes to push is more
> than a word to avoid generating non-existent PUSH instructions.
> 3. Remove target PUSH_ARGS definitions which return 0 as it is the same
> as the default.

If you're changing all users and definitions of PUSH_ARGS anyway, it 
probably makes sense to change it to a target hook.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to