Hexagon (target/hexagon) Remove PC from the runtime state
authorTaylor Simpson <tsimpson@quicinc.com>
Tue, 8 Nov 2022 16:29:00 +0000 (08:29 -0800)
committerTaylor Simpson <tsimpson@quicinc.com>
Fri, 16 Dec 2022 18:10:28 +0000 (10:10 -0800)
commit40085901dbe339bdcd16ecf1bb70b63a5f119b4f
treec98123b2cab680c739daa43541fe489c52a7ffb2
parentfb67c2bf24f4399bb0347580324740409e1bb2d7
Hexagon (target/hexagon) Remove PC from the runtime state

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]

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20221108162906.3166-6-tsimpson@quicinc.com>
target/hexagon/gen_helper_funcs.py
target/hexagon/gen_helper_protos.py
target/hexagon/gen_tcg.h
target/hexagon/gen_tcg_funcs.py
target/hexagon/hex_common.py
target/hexagon/insn.h
target/hexagon/macros.h
target/hexagon/translate.c