On 4/26/23 01:42, Taylor Simpson wrote:
In certain cases, we can avoid the overhead of writing to hex_new_pred_value
and write directly to hex_pred.  We consider predicate reads/writes when
computing ctx->need_commit.  The get_result_pred() function uses this
field to decide between hex_new_pred_value and hex_pred.  Then, we can
early-exit from gen_pred_writes.

Signed-off-by: Taylor Simpson<tsimp...@quicinc.com>
---
  target/hexagon/genptr.h    |  1 +
  target/hexagon/genptr.c    | 15 ++++++++++++---
  target/hexagon/translate.c | 14 +++++++++++---
  3 files changed, 24 insertions(+), 6 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to