aboutsummaryrefslogtreecommitdiff
path: root/target/sparc/int32_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-10-14 21:55:27 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-11-05 12:03:17 -0800
commitb597eedcce0de84ff573a6be2cd6a89c7fa0fd8e (patch)
tree33c3ab8ac42da284da0c13630f0728f3763865dd /target/sparc/int32_helper.c
parent68524e83f8fbe23dca37dc5b847fb558d75c8fab (diff)
downloadqemu-b597eedcce0de84ff573a6be2cd6a89c7fa0fd8e.zip
qemu-b597eedcce0de84ff573a6be2cd6a89c7fa0fd8e.tar.gz
qemu-b597eedcce0de84ff573a6be2cd6a89c7fa0fd8e.tar.bz2
target/sparc: Remove CC_OP leftovers
All instructions have been converted to generate full condition codes explicitly. Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/sparc/int32_helper.c')
-rw-r--r--target/sparc/int32_helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/sparc/int32_helper.c b/target/sparc/int32_helper.c
index 82e8418..1563613 100644
--- a/target/sparc/int32_helper.c
+++ b/target/sparc/int32_helper.c
@@ -103,11 +103,6 @@ void sparc_cpu_do_interrupt(CPUState *cs)
CPUSPARCState *env = &cpu->env;
int cwp, intno = cs->exception_index;
- /* Compute PSR before exposing state. */
- if (env->cc_op != CC_OP_FLAGS) {
- cpu_get_psr(env);
- }
-
if (qemu_loglevel_mask(CPU_LOG_INT)) {
static int count;
const char *name;