mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
fb67c2bf24
commit
40085901db
8 changed files with 25 additions and 10 deletions
|
@ -398,7 +398,7 @@ static inline TCGv gen_read_ireg(TCGv result, TCGv val, int shift)
|
|||
#else
|
||||
#define fREAD_GP() READ_REG(HEX_REG_GP)
|
||||
#endif
|
||||
#define fREAD_PC() (READ_REG(HEX_REG_PC))
|
||||
#define fREAD_PC() (PC)
|
||||
|
||||
#define fREAD_NPC() (env->next_PC & (0xfffffffe))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue