From b597eedcce0de84ff573a6be2cd6a89c7fa0fd8e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 14 Oct 2023 21:55:27 -0700 Subject: target/sparc: Remove CC_OP leftovers All instructions have been converted to generate full condition codes explicitly. Tested-by: Mark Cave-Ayland Acked-by: Mark Cave-Ayland Signed-off-by: Richard Henderson --- linux-user/sparc/cpu_loop.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'linux-user/sparc/cpu_loop.c') diff --git a/linux-user/sparc/cpu_loop.c b/linux-user/sparc/cpu_loop.c index c1a2362041..3c1bde00dd 100644 --- a/linux-user/sparc/cpu_loop.c +++ b/linux-user/sparc/cpu_loop.c @@ -222,11 +222,6 @@ void cpu_loop (CPUSPARCState *env) cpu_exec_end(cs); process_queued_cpu_work(cs); - /* Compute PSR before exposing state. */ - if (env->cc_op != CC_OP_FLAGS) { - cpu_get_psr(env); - } - switch (trapnr) { case TARGET_TT_SYSCALL: ret = do_syscall (env, env->gregs[1], -- cgit 1.4.1