[PATCH v2] Add a target calls hook: TARGET_PUSH_ARGUMENT

2021-05-27 Thread H.J. Lu via Gcc-patches
1. Replace PUSH_ARGS with a target calls hook, TARGET_PUSH_ARGUMENT, which takes an integer argument. When it returns true, push instructions will be used to pass outgoing arguments. If the argument is nonzero, it is the number of bytes to push and indicates the PUSH instruction usage is optional

Re: [PATCH v2] Add a target calls hook: TARGET_PUSH_ARGUMENT

2021-06-13 Thread Jeff Law via Gcc-patches
On 5/27/2021 2:18 PM, H.J. Lu via Gcc-patches wrote: 1. Replace PUSH_ARGS with a target calls hook, TARGET_PUSH_ARGUMENT, which takes an integer argument. When it returns true, push instructions will be used to pass outgoing arguments. If the argument is nonzero, it is the number of bytes to