Patchwork [009/147] target-s390: Fix SACF exit

login
register
mail settings
Submitter Richard Henderson
Date Sept. 27, 2012, 10:39 p.m.
Message ID <1348785610-23418-10-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/187527/
State New
Headers show

Comments

Richard Henderson - Sept. 27, 2012, 10:39 p.m.
DISAS_EXCP is exit via exception; we wanted DISAS_JUMP.
This matters when we start cleaning up the TB exit paths.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-s390x/translate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 23e1042..f0fadf2 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -2933,7 +2933,7 @@  static void disas_b2(CPUS390XState *env, DisasContext *s, int op,
         tcg_temp_free_i64(tmp);
         break;
     case 0x79: /* SACF    D2(B2)     [S] */
-        /* Store Clock Extended */
+        /* Set Address Space Control Fast */
         check_privileged(env, s, ilc);
         decode_rs(s, insn, &r1, &r3, &b2, &d2);
         tmp = get_address(s, 0, b2, d2);
@@ -2943,7 +2943,7 @@  static void disas_b2(CPUS390XState *env, DisasContext *s, int op,
         /* addressing mode has changed, so end the block */
         s->pc += ilc * 2;
         update_psw_addr(s);
-        s->is_jmp = DISAS_EXCP;
+        s->is_jmp = DISAS_JUMP;
         break;
     case 0x7d: /* STSI     D2,(B2)     [S] */
         check_privileged(env, s, ilc);