mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target/hppa: Use copy_iaoq_entry for link in do_ibranch
We need to make sure the link is masked properly along the use_nullify_skip path. The other three settings of a link register already use this. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a01809737e
commit
9a91dd8452
1 changed files with 1 additions and 1 deletions
|
@ -1898,7 +1898,7 @@ static bool do_ibranch(DisasContext *ctx, TCGv_reg dest,
|
||||||
|
|
||||||
nullify_over(ctx);
|
nullify_over(ctx);
|
||||||
if (link != 0) {
|
if (link != 0) {
|
||||||
tcg_gen_movi_reg(cpu_gr[link], ctx->iaoq_n);
|
copy_iaoq_entry(ctx, cpu_gr[link], ctx->iaoq_n, ctx->iaoq_n_var);
|
||||||
}
|
}
|
||||||
tcg_gen_lookup_and_goto_ptr();
|
tcg_gen_lookup_and_goto_ptr();
|
||||||
return nullify_end(ctx);
|
return nullify_end(ctx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue