Hexagon (target/hexagon) Move new_value to DisasContext
authorTaylor Simpson <tsimpson@quicinc.com>
Thu, 27 Apr 2023 23:00:08 +0000 (16:00 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Thu, 18 May 2023 19:40:52 +0000 (12:40 -0700)
commit4ff5676474cff9afd02c4755d97b0438e764f9d9
tree06f73f535e60c6c49b89c9cd7e84f202a98b50ab
parent6aa4f1d15ca8f843d92cf8e431a03d5b1278054c
Hexagon (target/hexagon) Move new_value to DisasContext

The new_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-18-tsimpson@quicinc.com>
target/hexagon/cpu.h
target/hexagon/genptr.c
target/hexagon/translate.c
target/hexagon/translate.h