]> git.proxmox.com Git - qemu.git/blobdiff - target-sh4/helper.c
target-arm: Handle UNDEF cases for Neon 2 regs + scalar forms
[qemu.git] / target-sh4 / helper.c
index d2038bd8422ee37f3b2fee26e6e70fcbb29bac31..8f36d313cd5ea0770e50858f342b27366fe54821 100644 (file)
@@ -90,11 +90,11 @@ void do_interrupt(CPUState * env)
         if (do_exp && env->exception_index != 0x1e0) {
             env->exception_index = 0x000; /* masked exception -> reset */
         }
-        if (do_irq && !env->intr_at_halt) {
+        if (do_irq && !env->in_sleep) {
             return; /* masked */
         }
-        env->intr_at_halt = 0;
     }
+    env->in_sleep = 0;
 
     if (do_irq) {
         irq_vector = sh_intc_get_pending_vector(env->intc_handle,