Re: [PATCH 01/20] target/sparc: Introduce cpu_put_psr_icc

2023-10-25 Thread Richard Henderson
On 10/19/23 07:11, Philippe Mathieu-Daudé wrote:   uint32_t psr;   __get_user(psr, ®s->psr); -    env->psr = (psr & PSR_ICC) | (env->psr & ~PSR_ICC); This keeps the non-PSR_ICC fields from env->psr, ... +    cpu_put_psr_icc(env, psr);   #endif   /* Note that pc and npc are handled

Re: [PATCH 01/20] target/sparc: Introduce cpu_put_psr_icc

2023-10-19 Thread Philippe Mathieu-Daudé
Hi Richard, On 17/10/23 08:40, Richard Henderson wrote: Isolate linux-user from changes to icc representation. Signed-off-by: Richard Henderson --- target/sparc/cpu.h| 1 + linux-user/sparc/signal.c | 2 +- target/sparc/win_helper.c | 7 ++- 3 files changed, 8 insertions(+), 2

[PATCH 01/20] target/sparc: Introduce cpu_put_psr_icc

2023-10-16 Thread Richard Henderson
Isolate linux-user from changes to icc representation. Signed-off-by: Richard Henderson --- target/sparc/cpu.h| 1 + linux-user/sparc/signal.c | 2 +- target/sparc/win_helper.c | 7 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/target/sparc/cpu.h b/target/sparc/c