qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/21] Hexagon (target/hexagon) Short-circuit packet predicat


From: Richard Henderson
Subject: Re: [PATCH 12/21] Hexagon (target/hexagon) Short-circuit packet predicate writes
Date: Thu, 27 Apr 2023 11:41:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

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<tsimpson@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.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]