[PATCH v2 2/2] powerpc: Use scv instruction on clone when available

Tulio Magno Quites Machado Filho tuliom@ascii.art.br
Wed Dec 30 21:30:27 GMT 2020


Matheus Castanho via Libc-alpha <libc-alpha@sourceware.org> writes:

> clone already uses r31 to temporarily save input arguments before doing the
> syscall, so we use a different register to read from the TCB. We can also avoid
> allocating another stack frame, which is not needed since we can simply extend
> the usage of the red zone.

LGTM.
Pushed as 41f013cef24884604c303435dd1915be2ea5c0e0.

Thanks!

-- 
Tulio Magno


More information about the Libc-alpha mailing list