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<tsimp...@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.hender...@linaro.org>

r~

Reply via email to