On Thu, Sep 10, 2026 at 10:32 AM Brian Cain <[email protected]> wrote:
>
> An HVX register operand was a bare offset from env.  That works only
> while the register file was part of CPUHexagonState.  When it moves to an
> HVX context shared between hardware threads, its address is not a
> translation-time constant.
>
> While here, fold the repeated helper-argument pointer setup in
> hex_common.py into Hvx.decl_tcg_ptr().
>
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  target/hexagon/gen_tcg_hvx.h  | 608 +++++++++++++++++++---------------
>  target/hexagon/genptr.h       |   8 +
>  target/hexagon/mmvec/macros.h |  14 +-
>  target/hexagon/translate.h    |   5 +-
>  target/hexagon/genptr.c       | 102 +++---
>  target/hexagon/translate.c    |  58 ++--
>  target/hexagon/hex_common.py  | 181 +++++-----
>  7 files changed, 563 insertions(+), 413 deletions(-)

Reviewed-by: Marco Liebel <[email protected]>

Reply via email to