On 11/1/21 6:01 AM, LIU Zhiwei wrote:
As pc will be written by the xepc in exception return, just ignore
pc in translation.

Signed-off-by: LIU Zhiwei<zhiwei_...@c-sky.com>
---
  target/riscv/helper.h                          | 4 ++--
  target/riscv/insn_trans/trans_privileged.c.inc | 7 ++-----
  target/riscv/op_helper.c                       | 4 ++--
  3 files changed, 6 insertions(+), 9 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to