mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
Hexagon (target/hexagon) Move new_pred_value to DisasContext
The new_pred_value array in the CPUHexagonState is only used for bookkeeping within the translation of a packet. With recent changes that eliminate the need to free TCGv variables, these make more sense to be transient and kept in DisasContext. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230427230012.3800327-19-tsimpson@quicinc.com>
This commit is contained in:
parent
4ff5676474
commit
e22edc7c1d
8 changed files with 23 additions and 24 deletions
|
@ -70,6 +70,7 @@ typedef struct DisasContext {
|
|||
bool short_circuit;
|
||||
bool has_hvx_helper;
|
||||
TCGv new_value[TOTAL_PER_THREAD_REGS];
|
||||
TCGv new_pred_value[NUM_PREGS];
|
||||
} DisasContext;
|
||||
|
||||
static inline void ctx_log_pred_write(DisasContext *ctx, int pnum)
|
||||
|
@ -193,7 +194,6 @@ extern TCGv hex_slot_cancelled;
|
|||
extern TCGv hex_branch_taken;
|
||||
extern TCGv hex_new_value_usr;
|
||||
extern TCGv hex_reg_written[TOTAL_PER_THREAD_REGS];
|
||||
extern TCGv hex_new_pred_value[NUM_PREGS];
|
||||
extern TCGv hex_pred_written;
|
||||
extern TCGv hex_store_addr[STORES_MAX];
|
||||
extern TCGv hex_store_width[STORES_MAX];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue