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>
This commit is contained in:
parent
104281c10e
commit
0c58c1bc1c
@ -2082,11 +2082,9 @@ static bool trans_mfctl(DisasContext *ctx, arg_mfctl *a)
|
|||||||
nullify_over(ctx);
|
nullify_over(ctx);
|
||||||
tmp = dest_gpr(ctx, rt);
|
tmp = dest_gpr(ctx, rt);
|
||||||
if (translator_io_start(&ctx->base)) {
|
if (translator_io_start(&ctx->base)) {
|
||||||
gen_helper_read_interval_timer(tmp);
|
|
||||||
ctx->base.is_jmp = DISAS_IAQ_N_STALE;
|
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);
|
save_gpr(ctx, rt, tmp);
|
||||||
return nullify_end(ctx);
|
return nullify_end(ctx);
|
||||||
case 26:
|
case 26:
|
||||||
|
Loading…
Reference in New Issue
Block a user