diff options
| author | Taylor Simpson <tsimpson@quicinc.com> | 2023-04-27 16:00:09 -0700 |
|---|---|---|
| committer | Taylor Simpson <tsimpson@quicinc.com> | 2023-05-18 12:40:52 -0700 |
| commit | e22edc7c1df59607dea3cf3d8529097ae38e3ae0 (patch) | |
| tree | e173f8459e83e7529fc5705c08ce2d6feb62f30e /target/hexagon/idef-parser/parser-helpers.c | |
| parent | 4ff5676474cff9afd02c4755d97b0438e764f9d9 (diff) | |
| download | focaccia-qemu-e22edc7c1df59607dea3cf3d8529097ae38e3ae0.tar.gz focaccia-qemu-e22edc7c1df59607dea3cf3d8529097ae38e3ae0.zip | |
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>
Diffstat (limited to 'target/hexagon/idef-parser/parser-helpers.c')
| -rw-r--r-- | target/hexagon/idef-parser/parser-helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hexagon/idef-parser/parser-helpers.c b/target/hexagon/idef-parser/parser-helpers.c index 09161e394d..6626e006f6 100644 --- a/target/hexagon/idef-parser/parser-helpers.c +++ b/target/hexagon/idef-parser/parser-helpers.c @@ -1854,7 +1854,7 @@ HexValue gen_rvalue_pred(Context *c, YYLTYPE *locp, HexValue *pred) *pred = gen_tmp(c, locp, 32, UNSIGNED); if (is_dotnew) { OUT(c, locp, "tcg_gen_mov_i32(", pred, - ", hex_new_pred_value["); + ", ctx->new_pred_value["); OUT(c, locp, pred_str, "]);\n"); } else { OUT(c, locp, "gen_read_preg(", pred, ", ", pred_str, ");\n"); |