Hexagon (target/hexagon) decide if pred has been written at TCG gen time
commit6c677c60ae34bd2c7936781ee8969e41b1dac81e
authorTaylor Simpson <tsimpson@quicinc.com>
Fri, 9 Apr 2021 01:07:34 +0000 (8 20:07 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 1 May 2021 15:31:43 +0000 (1 08:31 -0700)
tree21a5aceea887ffa203dfe343acc30ba15103f04d
parent743debbc373ffcd8eb66dc388632c03f5e951bfc
Hexagon (target/hexagon) decide if pred has been written at TCG gen time

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.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1617930474-31979-7-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/gen_tcg_funcs.py
target/hexagon/genptr.c
target/hexagon/translate.c
target/hexagon/translate.h
tests/tcg/hexagon/misc.c