On 11/29/21 12:01 PM, Peter Maydell wrote:
On Tue, 23 Nov 2021 at 17:40, Richard Henderson
wrote:
We don't need a register that can live across the syscall;
we only need a register that can live until the syscall.
What about the case where:
* we execute the sc instruction (r11 trashed)
*
On Tue, 23 Nov 2021 at 17:40, Richard Henderson
wrote:
>
> We don't need a register that can live across the syscall;
> we only need a register that can live until the syscall.
What about the case where:
* we execute the sc instruction (r11 trashed)
* the syscall is one that from the host kerne
We don't need a register that can live across the syscall;
we only need a register that can live until the syscall.
Use call-clobbered r11 instead of call-saved r14.
Eliminate the save and restore of r14 from the stack frame.
Signed-off-by: Richard Henderson
---
linux-user/host/ppc64/safe-syscal