Message ID | 20240323172954.1041480-6-richard.henderson@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | target/hppa: more small fixes | expand |
On 3/23/24 18:29, Richard Henderson wrote: > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Helge Deller <deller@gmx.de> Tested-by: Helge Deller <deller@gmx.de> Thanks! Helge > --- > target/hppa/translate.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/target/hppa/translate.c b/target/hppa/translate.c > index ceb739c54a..8c1a564c5d 100644 > --- a/target/hppa/translate.c > +++ b/target/hppa/translate.c > @@ -2162,6 +2162,9 @@ static bool trans_mtctl(DisasContext *ctx, arg_mtctl *a) > > switch (ctl) { > case CR_IT: > + if (translator_io_start(&ctx->base)) { > + ctx->base.is_jmp = DISAS_IAQ_N_STALE; > + } > gen_helper_write_interval_timer(tcg_env, reg); > break; > case CR_EIRR:
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index ceb739c54a..8c1a564c5d 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -2162,6 +2162,9 @@ static bool trans_mtctl(DisasContext *ctx, arg_mtctl *a) switch (ctl) { case CR_IT: + if (translator_io_start(&ctx->base)) { + ctx->base.is_jmp = DISAS_IAQ_N_STALE; + } gen_helper_write_interval_timer(tcg_env, reg); break; case CR_EIRR:
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/hppa/translate.c | 3 +++ 1 file changed, 3 insertions(+)