[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/riscv: Set pc_succ_insn for !rvc illegal insn

From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] target/riscv: Set pc_succ_insn for !rvc illegal insn
Date: Wed, 7 Dec 2022 08:00:18 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

On 3/12/22 18:57, Richard Henderson wrote:
Failure to set pc_succ_insn may result in a TB covering zero bytes,
which triggers an assert within the code generator.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1224
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  target/riscv/translate.c          | 12 ++++--------
  tests/tcg/Makefile.target         |  2 ++
  tests/tcg/riscv64/Makefile.target |  5 +++++
  tests/tcg/riscv64/test-noc.S      | 32 +++++++++++++++++++++++++++++++
  4 files changed, 43 insertions(+), 8 deletions(-)
  create mode 100644 tests/tcg/riscv64/test-noc.S
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]