OSDN Git Service

Hexagon (target/hexagon) Move new_pred_value to DisasContext
authorTaylor Simpson <tsimpson@quicinc.com>
Thu, 27 Apr 2023 23:00:09 +0000 (16:00 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Thu, 18 May 2023 19:40:52 +0000 (12:40 -0700)
commite22edc7c1df59607dea3cf3d8529097ae38e3ae0
treee173f8459e83e7529fc5705c08ce2d6feb62f30e
parent4ff5676474cff9afd02c4755d97b0438e764f9d9
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>
target/hexagon/cpu.h
target/hexagon/gen_tcg.h
target/hexagon/gen_tcg_funcs.py
target/hexagon/genptr.c
target/hexagon/idef-parser/parser-helpers.c
target/hexagon/op_helper.c
target/hexagon/translate.c
target/hexagon/translate.h