Signed-off-by: Richard Henderson <[email protected]>
---
 target/arm/tcg/translate-a64.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/target/arm/tcg/translate-a64.c b/target/arm/tcg/translate-a64.c
index e66ccdff6f..0f6331a695 100644
--- a/target/arm/tcg/translate-a64.c
+++ b/target/arm/tcg/translate-a64.c
@@ -2420,8 +2420,7 @@ static bool trans_ISB(DisasContext *s, arg_ISB *a)
      * self-modifying code correctly and also to take
      * any pending interrupts immediately.
      */
-    reset_btype(s);
-    gen_goto_tb(s, 0, 4);
+    s->base.is_jmp = DISAS_TOO_MANY;
     return true;
 }
 
@@ -2435,7 +2434,7 @@ static bool trans_SB(DisasContext *s, arg_SB *a)
      * MB and end the TB instead.
      */
     tcg_gen_mb(TCG_MO_ALL | TCG_BAR_SC);
-    gen_goto_tb(s, 0, 4);
+    s->base.is_jmp = DISAS_TOO_MANY;
     return true;
 }
 
-- 
2.53.0


Reply via email to