summary refs log tree commit diff stats
path: root/target/sparc/helper.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-10-01 23:46:47 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-25 01:01:13 -0700
commitc26368532dca4670aa55fcecc9c7fb100cc30319 (patch)
tree493e4f23aff94eeb7792c9ebfba262a2ae38709d /target/sparc/helper.c
parent4ee85ea94bc3c6f34231590467ac7988386913e9 (diff)
downloadfocaccia-qemu-c26368532dca4670aa55fcecc9c7fb100cc30319.tar.gz
focaccia-qemu-c26368532dca4670aa55fcecc9c7fb100cc30319.zip
target/sparc: Move UDIV, SDIV to decodetree
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/helper.c')
-rw-r--r--target/sparc/helper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/sparc/helper.c b/target/sparc/helper.c
index c4358bba84..e25fdaeedd 100644
--- a/target/sparc/helper.c
+++ b/target/sparc/helper.c
@@ -102,9 +102,7 @@ static target_ulong do_udiv(CPUSPARCState *env, target_ulong a,
     }
 
     if (cc) {
-        env->cc_dst = x0;
         env->cc_src2 = overflow;
-        env->cc_op = CC_OP_DIV;
     }
     return x0;
 }
@@ -143,9 +141,7 @@ static target_ulong do_sdiv(CPUSPARCState *env, target_ulong a,
     }
 
     if (cc) {
-        env->cc_dst = x0;
         env->cc_src2 = overflow;
-        env->cc_op = CC_OP_DIV;
     }
     return x0;
 }