diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-03-22 14:22:51 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-03-27 12:15:25 -1000 |
commit | 0c58c1bc1c1c055e39904517b6b83dba82b2651d (patch) | |
tree | 542f34606b5c68876e53f930d28c0a7a205a1e20 | |
parent | 104281c10ea6386f40d919e994443a014869b292 (diff) | |
download | qemu-0c58c1bc1c1c055e39904517b6b83dba82b2651d.zip qemu-0c58c1bc1c1c055e39904517b6b83dba82b2651d.tar.gz qemu-0c58c1bc1c1c055e39904517b6b83dba82b2651d.tar.bz2 |
target/hppa: Tidy read of interval timer
The call to gen_helper_read_interval_timer is
identical on both sides of the IF.
Reviewed-by: Helge Deller <deller@gmx.de>
Tested-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | target/hppa/translate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 8c1a564..5b8c1b0 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: |