15fc6badbd
The semantics of a mem_noshuf packet are that the store effectively happens before the load. However, in cases where the load raises an exception, we cannot simply execute the store first. This change adds a probe to check that the load will not raise an exception before executing the store. If the load is predicated, this requires special handling. We check the condition before performing the probe. Since, we need the EA to perform the check, we move the GET_EA portion inside CHECK_NOSHUF_PRED. Test case added in tests/tcg/hexagon/mem_noshuf_exception.c Suggested-by: Alessandro Di Federico <ale@rev.ng> Suggested-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220707210546.15985-3-tsimpson@quicinc.com> |
||
---|---|---|
.. | ||
atomics.c | ||
brev.c | ||
circ.c | ||
dual_stores.c | ||
first.S | ||
float_convs.ref | ||
float_madds.ref | ||
fpstuff.c | ||
hex_sigsegv.c | ||
hvx_histogram_input.h | ||
hvx_histogram_row.h | ||
hvx_histogram_row.S | ||
hvx_histogram.c | ||
hvx_misc.c | ||
load_align.c | ||
load_unpack.c | ||
Makefile.target | ||
mem_noshuf_exception.c | ||
mem_noshuf.c | ||
misc.c | ||
multi_result.c | ||
overflow.c | ||
preg_alias.c | ||
scatter_gather.c | ||
usr.c | ||
vector_add_int.c |