On 08/03/2011 08:47 AM, Georg-Johann Lay wrote: > With ACCUMULATE_OUTGOING_ARGS it looks much better: there is just > one such block in the prologue/epilogue. > > I think ACCUMULATE_OUTGOING_ARGS would be a win definitely.
That's what I thought too, but with the test case in PR49881 I couldn't make A_O_A come out smaller than PUSHes. The reason being the function didn't otherwise need a frame pointer and we got to use REG_Y for something more useful. Perhaps that test case isn't the rule for real-world code. That's why I suggested implementing the command-line switch, to give the user an option of trying both and selecting the smaller option for their particular code. r~