On Thu, Feb 10, 2022 at 10:42:03AM -0600, Segher Boessenkool wrote: > > Not on x86, that isn't a general auto-inc-dec target, but uses PRE_DEC > > etc. only for the sp hard register. > > Ugh. Does it have any benefit from using autoinc at all then? (Actual > benefit, not notational convenience).
That is the most accurate description of what the push/pop instructions actually do, and the backend has been doing it for decades. Jakub