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
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
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