[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/9] target/hppa: fix shrp for wide mode
From: |
Richard Henderson |
Subject: |
[PULL 5/9] target/hppa: fix shrp for wide mode |
Date: |
Tue, 19 Mar 2024 14:32:19 -1000 |
From: Sven Schnelle <svens@stackframe.org>
Fixes: f7b775a9c075 ("target/hppa: Implement SHRPD")
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-3-svens@stackframe.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hppa/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 47c6db78c7..29ef061baf 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -3512,7 +3512,7 @@ static bool trans_shrp_sar(DisasContext *ctx,
arg_shrp_sar *a)
/* Install the new nullification. */
cond_free(&ctx->null_cond);
if (a->c) {
- ctx->null_cond = do_sed_cond(ctx, a->c, false, dest);
+ ctx->null_cond = do_sed_cond(ctx, a->c, a->d, dest);
}
return nullify_end(ctx);
}
@@ -3555,7 +3555,7 @@ static bool trans_shrp_imm(DisasContext *ctx,
arg_shrp_imm *a)
/* Install the new nullification. */
cond_free(&ctx->null_cond);
if (a->c) {
- ctx->null_cond = do_sed_cond(ctx, a->c, false, dest);
+ ctx->null_cond = do_sed_cond(ctx, a->c, a->d, dest);
}
return nullify_end(ctx);
}
--
2.34.1
- [PULL 0/9] target/hppa fixes for 9.0, Richard Henderson, 2024/03/19
- [PULL 1/9] target/hppa: Fix assemble_16 insns for wide mode, Richard Henderson, 2024/03/19
- [PULL 2/9] target/hppa: Fix assemble_11a insns for wide mode, Richard Henderson, 2024/03/19
- [PULL 3/9] target/hppa: Fix assemble_12a insns for wide mode, Richard Henderson, 2024/03/19
- [PULL 4/9] target/hppa: ldcw,s uses static shift of 3, Richard Henderson, 2024/03/19
- [PULL 5/9] target/hppa: fix shrp for wide mode,
Richard Henderson <=
- [PULL 7/9] target/hppa: exit tb on flush cache instructions, Richard Henderson, 2024/03/19
- [PULL 6/9] target/hppa: fix access_id check, Richard Henderson, 2024/03/19
- [PULL 8/9] target/hppa: mask privilege bits in mfia, Richard Henderson, 2024/03/19
- [PULL 9/9] target/hppa: fix do_stdby_e(), Richard Henderson, 2024/03/19
- Re: [PULL 0/9] target/hppa fixes for 9.0, Peter Maydell, 2024/03/20
- Re: [PULL 0/9] target/hppa fixes for 9.0, Michael Tokarev, 2024/03/21