* [PATCH for-9.0] target/hppa: Clear psw_n for BE on use_nullify_skip path
@ 2024-03-26 18:35 Richard Henderson
2024-03-26 19:29 ` Sven Schnelle
2024-03-26 20:14 ` Philippe Mathieu-Daudé
0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2024-03-26 18:35 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-stable, Sven Schnelle
Along this path we have already skipped the insn to be
nullified, so the subsequent insn should be executed.
Cc: qemu-stable@nongnu.org
Reported-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hppa/translate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 143818c2d9..8a1a8bc3aa 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -3948,6 +3948,7 @@ static bool trans_be(DisasContext *ctx, arg_be *a)
copy_iaoq_entry(ctx, cpu_iaoq_b, -1, tmp);
tcg_gen_mov_i64(cpu_iasq_f, new_spc);
tcg_gen_mov_i64(cpu_iasq_b, cpu_iasq_f);
+ nullify_set(ctx, 0);
} else {
copy_iaoq_entry(ctx, cpu_iaoq_f, ctx->iaoq_b, cpu_iaoq_b);
if (ctx->iaoq_b == -1) {
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH for-9.0] target/hppa: Clear psw_n for BE on use_nullify_skip path
2024-03-26 18:35 [PATCH for-9.0] target/hppa: Clear psw_n for BE on use_nullify_skip path Richard Henderson
@ 2024-03-26 19:29 ` Sven Schnelle
2024-03-26 20:14 ` Philippe Mathieu-Daudé
1 sibling, 0 replies; 3+ messages in thread
From: Sven Schnelle @ 2024-03-26 19:29 UTC (permalink / raw)
To: Richard Henderson; +Cc: qemu-devel, qemu-stable
Richard Henderson <richard.henderson@linaro.org> writes:
> Along this path we have already skipped the insn to be
> nullified, so the subsequent insn should be executed.
>
> Cc: qemu-stable@nongnu.org
> Reported-by: Sven Schnelle <svens@stackframe.org>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/hppa/translate.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target/hppa/translate.c b/target/hppa/translate.c
> index 143818c2d9..8a1a8bc3aa 100644
> --- a/target/hppa/translate.c
> +++ b/target/hppa/translate.c
> @@ -3948,6 +3948,7 @@ static bool trans_be(DisasContext *ctx, arg_be *a)
> copy_iaoq_entry(ctx, cpu_iaoq_b, -1, tmp);
> tcg_gen_mov_i64(cpu_iasq_f, new_spc);
> tcg_gen_mov_i64(cpu_iasq_b, cpu_iasq_f);
> + nullify_set(ctx, 0);
> } else {
> copy_iaoq_entry(ctx, cpu_iaoq_f, ctx->iaoq_b, cpu_iaoq_b);
> if (ctx->iaoq_b == -1) {
Tested-by: Sven Schnelle <svens@stackframe.org>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH for-9.0] target/hppa: Clear psw_n for BE on use_nullify_skip path
2024-03-26 18:35 [PATCH for-9.0] target/hppa: Clear psw_n for BE on use_nullify_skip path Richard Henderson
2024-03-26 19:29 ` Sven Schnelle
@ 2024-03-26 20:14 ` Philippe Mathieu-Daudé
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-03-26 20:14 UTC (permalink / raw)
To: Richard Henderson, qemu-devel; +Cc: qemu-stable, Sven Schnelle
On 26/3/24 19:35, Richard Henderson wrote:
> Along this path we have already skipped the insn to be
> nullified, so the subsequent insn should be executed.
>
> Cc: qemu-stable@nongnu.org
> Reported-by: Sven Schnelle <svens@stackframe.org>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/hppa/translate.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-26 20:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 18:35 [PATCH for-9.0] target/hppa: Clear psw_n for BE on use_nullify_skip path Richard Henderson
2024-03-26 19:29 ` Sven Schnelle
2024-03-26 20:14 ` Philippe Mathieu-Daudé
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.