On 3/31/21 8:53 PM, Taylor Simpson wrote:
Multiple writes to the same preg are and'ed together. Rather than
generating a runtime check, we can determine at TCG generation time
if the predicate has previously been written in the packet.
Test added to tests/tcg/hexagon/misc.c
Suggested-by: Richard Henderson<richard.hender...@linaro.org>
Signed-off-by: Taylor Simpson<tsimp...@quicinc.com>
---
target/hexagon/gen_tcg_funcs.py | 2 +-
target/hexagon/genptr.c | 22 +++++++++++++++-------
target/hexagon/translate.c | 9 +++++++--
target/hexagon/translate.h | 2 ++
tests/tcg/hexagon/misc.c | 19 +++++++++++++++++++
5 files changed, 44 insertions(+), 10 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~