OSDN Git Service

Hexagon (target/hexagon) Move pred_written to DisasContext
authorTaylor Simpson <tsimpson@quicinc.com>
Thu, 27 Apr 2023 23:00:10 +0000 (16:00 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Thu, 18 May 2023 19:40:52 +0000 (12:40 -0700)
commit842b206f268a69d7def87b990f272a514c49837b
tree6abadb7251aadb539dd6bf726e9d69e902e0bd70
parente22edc7c1df59607dea3cf3d8529097ae38e3ae0
Hexagon (target/hexagon) Move pred_written to DisasContext

The pred_written variable 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-20-tsimpson@quicinc.com>
target/hexagon/cpu.h
target/hexagon/genptr.c
target/hexagon/helper.h
target/hexagon/op_helper.c
target/hexagon/translate.c
target/hexagon/translate.h