]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
Hexagon (target/hexagon) Change decision to set pkt_has_store_s[01]
authorTaylor Simpson <tsimpson@quicinc.com>
Tue, 20 Sep 2022 08:07:46 +0000 (01:07 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Fri, 30 Sep 2022 18:25:37 +0000 (11:25 -0700)
commite2be9a5c5f65a2cbde4915e29a112439177656d7
tree6ee0c3f8eb2770fa923f7fc80afaf8d979bd8373
parentb772528acbd4669a56c8bbc16d78f8f4335c1aa3
Hexagon (target/hexagon) Change decision to set pkt_has_store_s[01]

We have found cases where pkt_has_store_s[01] is set incorrectly.
This leads to generating an unnecessary store that is left over
from a previous packet.

Add an attribute to determine if an instruction is a scalar store
The attribute is attached to the fSTORE macro (hex_common.py)
Update the logic in decode.c that sets pkt_has_store_s[01]

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220920080746.26791-4-tsimpson@quicinc.com>
target/hexagon/attribs_def.h.inc
target/hexagon/decode.c
target/hexagon/hex_common.py
target/hexagon/translate.c