diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2023-03-06 18:58:20 -0800 |
---|---|---|
committer | Taylor Simpson <tsimpson@quicinc.com> | 2023-03-06 20:47:12 -0800 |
commit | 4d13bb51d2db3134754d3361d289f719a61c4673 (patch) | |
tree | 8f187a70657f9f12afff46ac3ee5b3a93169df87 /target/hexagon/translate.h | |
parent | 10849c2623af6f1c122956aaee8329b9414e637d (diff) |
Hexagon (target/hexagon) Don't set pkt_has_store_s1 when not needed
The pkt_has_store_s1 field in CPUHexagonState is only needed in generated
helpers for scalar load instructions. See check_noshuf and mem_load[1248]
in op_helper.c.
We add logic in gen_analyze_funcs.py to set need_pkt_has_store_s1 in
DisasContext when it is needed at runtime.
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230307025828.1612809-7-tsimpson@quicinc.com>
Diffstat (limited to 'target/hexagon/translate.h')
-rw-r--r-- | target/hexagon/translate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/hexagon/translate.h b/target/hexagon/translate.h index d45d3a4bb0..34368b2186 100644 --- a/target/hexagon/translate.h +++ b/target/hexagon/translate.h @@ -61,6 +61,7 @@ typedef struct DisasContext { TCGCond branch_cond; target_ulong branch_dest; bool is_tight_loop; + bool need_pkt_has_store_s1; } DisasContext; static inline void ctx_log_pred_write(DisasContext *ctx, int pnum) |