Hexagon (target/hexagon) Short-circuit packet HVX writes
authorTaylor Simpson <tsimpson@quicinc.com>
Thu, 27 Apr 2023 23:00:04 +0000 (16:00 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Thu, 18 May 2023 19:40:52 +0000 (12:40 -0700)
commitb85529854ee1a67a1169683a4446f2500a9c14c9
tree71a2a2f050f35a9ef1e5d4f8612545b844234f8c
parent455e169d7cad4499ed9f4647215b9ec71aa706e4
Hexagon (target/hexagon) Short-circuit packet HVX writes

In certain cases, we can avoid the overhead of writing to future_VRegs
and write directly to VRegs.  We consider HVX reads/writes when computing
ctx->need_commit.  Then, we can early-exit from gen_commit_hvx.

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230427230012.3800327-14-tsimpson@quicinc.com>
target/hexagon/genptr.c
target/hexagon/translate.c