Re: [PATCH] Pass the number of bytes to push to PUSH_ARGS

2021-05-27 Thread H.J. Lu via Gcc-patches
On Mon, May 24, 2021 at 1:23 PM Joseph Myers wrote: > > 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 in

Re: [PATCH] Pass the number of bytes to push to PUSH_ARGS

2021-05-24 Thread Joseph Myers
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 ret

[PATCH] Pass the number of bytes to push to PUSH_ARGS

2021-05-22 Thread H.J. Lu via Gcc-patches
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 avo