diff options
author | Sven Schnelle <svens@stackframe.org> | 2024-03-19 17:19:17 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-03-19 13:33:40 -1000 |
commit | d37fad0ae5bd2c544fdb0f2eff6acdb28a155be0 (patch) | |
tree | d394d69172891c88bb156b48ab9b268c69475b0f /target/hppa/translate.c | |
parent | c3ea1996a14d5dbbedb3f9036f7ebec4395dc889 (diff) | |
download | qemu-d37fad0ae5bd2c544fdb0f2eff6acdb28a155be0.zip qemu-d37fad0ae5bd2c544fdb0f2eff6acdb28a155be0.tar.gz qemu-d37fad0ae5bd2c544fdb0f2eff6acdb28a155be0.tar.bz2 |
target/hppa: fix shrp for wide mode
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>
Diffstat (limited to 'target/hppa/translate.c')
-rw-r--r-- | target/hppa/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 47c6db7..29ef061 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); } |