qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 05/11] Hexagon (target/hexagon) Remove PC from the runtime


From: Richard Henderson
Subject: Re: [PATCH v3 05/11] Hexagon (target/hexagon) Remove PC from the runtime state
Date: Sat, 5 Nov 2022 11:07:06 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 11/5/22 06:26, Taylor Simpson wrote:
Add pc field to Packet structure
For helpers that need PC, pass an extra argument
Remove slot arg from conditional jump helpers
On a trap0, copy pkt->pc into hex_gpr[HEX_REG_PC]

Signed-off-by: Taylor Simpson<tsimpson@quicinc.com>
---
  target/hexagon/gen_tcg.h            | 7 +++++++
  target/hexagon/insn.h               | 1 +
  target/hexagon/macros.h             | 2 +-
  target/hexagon/translate.c          | 9 +--------
  target/hexagon/gen_helper_funcs.py  | 4 ++++
  target/hexagon/gen_helper_protos.py | 3 +++
  target/hexagon/gen_tcg_funcs.py     | 3 +++
  target/hexagon/hex_common.py        | 6 +++++-
  8 files changed, 25 insertions(+), 10 deletions(-)

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

r~



reply via email to

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