Re: [PATCH v4 0/3] m68k: Improved switch stack handling

Michael Schmitz
2021-07-18T19:47:28Z

Hi Andreas,

On 18/07/21 10:47 pm, Andreas Schwab wrote:
> On Jul 18 2021, Michael Schmitz wrote:
>
>> + addql #8,%sp
>> + addql #8,%sp
>> + addql #8,%sp
>> + addql #8,%sp
>> + addql #8,%sp
>> + addql #4,%sp
> aka lea 44(%sp),%sp

Thanks - I knew there should be a better way.

Somewhere in entry.S is

addql #8,%sp
addql #4,%sp

- is that faster than

lea 12(%sp),%sp ?

Cheers,

Michael