[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: ppc64: don't use volatile register
Shivaprasad G Bhat
Re: [Qemu-devel] [PATCH] linux-user: ppc64: don't use volatile register during safe_syscall
Fri, 27 Jul 2018 12:12:14 +0530
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
On 07/26/2018 10:56 PM, Richard Henderson wrote:
On 07/25/2018 11:48 PM, Shivaprasad G Bhat wrote:
This document is for _CALL_ELF < 2. For ppc64le, the document is at
In both cases, it appears that we can (ab)use SP+16 to save
the value of r14 across the syscall. This slot would normally
be used for saving our own return address (LR), but we have no
need to save that value because it *is* preserved across the syscall.
I will send updated patch as suggested.