summary refs log tree commit diff stats
path: root/target/openrisc/sys_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-04-05 18:00:33 -0700
committerRichard Henderson <rth@twiddle.net>2017-02-14 08:15:00 +1100
commita01deb36a685365b4a3117112da3cc4f0f79e955 (patch)
tree5b5c12ab0b7d9437f55f4efb452d51f66f6f6337 /target/openrisc/sys_helper.c
parent24c328521b19aff2559118809ddf0522d6dfaaea (diff)
downloadfocaccia-qemu-a01deb36a685365b4a3117112da3cc4f0f79e955.tar.gz
focaccia-qemu-a01deb36a685365b4a3117112da3cc4f0f79e955.zip
target/openrisc: Tidy handling of delayed branches
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/openrisc/sys_helper.c')
-rw-r--r--target/openrisc/sys_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c
index 0968901426..60c3193656 100644
--- a/target/openrisc/sys_helper.c
+++ b/target/openrisc/sys_helper.c
@@ -45,7 +45,7 @@ void HELPER(mtspr)(CPUOpenRISCState *env,
            when "jumping" to the current instruction.  */
         if (env->pc != rb) {
             env->pc = rb;
-            env->flags = 0;
+            env->dflag = 0;
             cpu_loop_exit(cs);
         }
         break;