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
Address feedback from Richard Henderson<richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson<tsimpson@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(-)