mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-03 00:24:37 -07:00
target/hppa: Use only low 2 immediate bits for PROBEI
During the conversion to decodetree, the 2-bit mask was lost.
Fixes: deee69a19f ("target/hppa: Convert memory management insns")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
881d1073d0
commit
e5d487c972
1 changed files with 1 additions and 1 deletions
|
|
@ -2297,7 +2297,7 @@ static bool trans_probe(DisasContext *ctx, arg_probe *a)
|
|||
form_gva(ctx, &addr, &ofs, a->b, 0, 0, 0, a->sp, 0, false);
|
||||
|
||||
if (a->imm) {
|
||||
level = tcg_constant_i32(a->ri);
|
||||
level = tcg_constant_i32(a->ri & 3);
|
||||
} else {
|
||||
level = tcg_temp_new_i32();
|
||||
tcg_gen_extrl_i64_i32(level, load_gpr(ctx, a->ri));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue