Hexagon (target/hexagon) probe the stores in a packet at start of commit
When a packet has 2 stores, either both commit or neither commit. At the beginning of gen_commit_packet, we check for multiple stores. If there are multiple stores, call a helper that will probe each of them before proceeding with the commit. Note that we don't call the probe helper for packets with only one store. Therefore, we call process_store_log before anything else involved in committing the packet. We also fix a typo in the comment in process_store_log. Test case added in tests/tcg/hexagon/hex_sigsegv.c Reviewed-by:Richard Henderson <richard.henderson@linaro.org> Signed-off-by:
Taylor Simpson <tsimpson@quicinc.com> Message-Id: <1633036599-7637-1-git-send-email-tsimpson@quicinc.com>
Showing
- target/hexagon/helper.h 2 additions, 0 deletionstarget/hexagon/helper.h
- target/hexagon/op_helper.c 16 additions, 0 deletionstarget/hexagon/op_helper.c
- target/hexagon/translate.c 35 additions, 3 deletionstarget/hexagon/translate.c
- tests/tcg/hexagon/Makefile.target 1 addition, 0 deletionstests/tcg/hexagon/Makefile.target
- tests/tcg/hexagon/hex_sigsegv.c 106 additions, 0 deletionstests/tcg/hexagon/hex_sigsegv.c
Loading
Please register or sign in to comment