mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-02 15:02:02 -06:00
target/hppa: mask privilege bits in mfia
mfia should return only the iaoq bits without privilege
bits.
Fixes: 98a9cb792c
("target-hppa: Implement system and memory-management insns")
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Helge Deller <deller@gmx.de>
Message-Id: <20240319161921.487080-6-svens@stackframe.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ad1fdacd1b
commit
b5e0b3a53c
1 changed files with 1 additions and 1 deletions
|
@ -2011,7 +2011,7 @@ static bool trans_mfia(DisasContext *ctx, arg_mfia *a)
|
||||||
{
|
{
|
||||||
unsigned rt = a->t;
|
unsigned rt = a->t;
|
||||||
TCGv_i64 tmp = dest_gpr(ctx, rt);
|
TCGv_i64 tmp = dest_gpr(ctx, rt);
|
||||||
tcg_gen_movi_i64(tmp, ctx->iaoq_f);
|
tcg_gen_movi_i64(tmp, ctx->iaoq_f & ~3ULL);
|
||||||
save_gpr(ctx, rt, tmp);
|
save_gpr(ctx, rt, tmp);
|
||||||
|
|
||||||
cond_free(&ctx->null_cond);
|
cond_free(&ctx->null_cond);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue