[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 6/7] target/hppa: Tidy read of interval timer
From: |
Richard Henderson |
Subject: |
[PATCH v2 6/7] target/hppa: Tidy read of interval timer |
Date: |
Sat, 23 Mar 2024 07:29:53 -1000 |
The call to gen_helper_read_interval_timer is
identical on both sides of the IF.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hppa/translate.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 8c1a564c5d..5b8c1b06c3 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -2082,11 +2082,9 @@ static bool trans_mfctl(DisasContext *ctx, arg_mfctl *a)
nullify_over(ctx);
tmp = dest_gpr(ctx, rt);
if (translator_io_start(&ctx->base)) {
- gen_helper_read_interval_timer(tmp);
ctx->base.is_jmp = DISAS_IAQ_N_STALE;
- } else {
- gen_helper_read_interval_timer(tmp);
}
+ gen_helper_read_interval_timer(tmp);
save_gpr(ctx, rt, tmp);
return nullify_end(ctx);
case 26:
--
2.34.1
- [PATCH for-9.0 v2 0/7] target/hppa: more small fixes, Richard Henderson, 2024/03/23
- [PATCH v2 1/7] target/hppa: Fix BE,L set of sr0, Richard Henderson, 2024/03/23
- [PATCH v2 2/7] target/hppa: Fix B,GATE for wide mode, Richard Henderson, 2024/03/23
- [PATCH v2 3/7] target/hppa: Handle unit conditions for wide mode, Richard Henderson, 2024/03/23
- [PATCH v2 4/7] target/hppa: Fix ADD/SUB trap on overflow for narrow mode, Richard Henderson, 2024/03/23
- [PATCH v2 5/7] target/hppa: Mark interval timer write as io, Richard Henderson, 2024/03/23
- [PATCH v2 6/7] target/hppa: Tidy read of interval timer,
Richard Henderson <=
- [PATCH v2 7/7] target/hppa: Fix EIRR, EIEM versus icount, Richard Henderson, 2024/03/23