Re: [RISU PATCH 1/5] risu: Use alternate stack

2022-10-11 Thread Peter Maydell
On Tue, 11 Oct 2022 at 07:57, gaosong wrote: > > > 在 2022/10/10 22:43, Peter Maydell 写道: > > On Mon, 10 Oct 2022 at 15:20, Richard Henderson > > wrote: > >> On 9/17/22 00:43, Song Gao wrote: > >>> We can use alternate stack, so that we can use sp register as > >>> intput/ouput register. > >>> I

Re: [RISU PATCH 1/5] risu: Use alternate stack

2022-10-11 Thread gaosong
在 2022/10/10 22:43, Peter Maydell 写道: On Mon, 10 Oct 2022 at 15:20, Richard Henderson wrote: On 9/17/22 00:43, Song Gao wrote: We can use alternate stack, so that we can use sp register as intput/ouput register. I had tested aarch64/LoongArch architecture. Signed-off-by: Song Gao --- ri

Re: [RISU PATCH 1/5] risu: Use alternate stack

2022-10-10 Thread Peter Maydell
On Mon, 10 Oct 2022 at 15:20, Richard Henderson wrote: > > On 9/17/22 00:43, Song Gao wrote: > > We can use alternate stack, so that we can use sp register as intput/ouput > > register. > > I had tested aarch64/LoongArch architecture. > > > > Signed-off-by: Song Gao > > --- > > risu.c | 16

Re: [RISU PATCH 1/5] risu: Use alternate stack

2022-10-10 Thread Richard Henderson
On 9/17/22 00:43, Song Gao wrote: We can use alternate stack, so that we can use sp register as intput/ouput register. I had tested aarch64/LoongArch architecture. Signed-off-by: Song Gao --- risu.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) Good idea. Reviewed

[RISU PATCH 1/5] risu: Use alternate stack

2022-09-17 Thread Song Gao
We can use alternate stack, so that we can use sp register as intput/ouput register. I had tested aarch64/LoongArch architecture. Signed-off-by: Song Gao --- risu.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/risu.c b/risu.c index 1c096a8..714074e 100644