On Thu, Sep 10, 2026 at 10:32 AM Brian Cain <[email protected]> wrote: > > The HVX register file belongs to an extension context, not a hw thread. > A core has a number of contexts, and each thread's SSR:XA selects the one > bound to it. > > Group the regs into HexagonHVXContext and reach them through > CPUHexagonState::hvx. Later patches move the storage into an object that > can be shared by vCPUs. > > Signed-off-by: Brian Cain <[email protected]> > --- > target/hexagon/cpu.h | 10 ++++++++-- > linux-user/hexagon/cpu_loop.c | 2 ++ > target/hexagon/cpu.c | 15 ++++++++------ > target/hexagon/gdbstub.c | 16 +++++++-------- > target/hexagon/genptr.c | 4 ++-- > target/hexagon/op_helper.c | 37 ++++++++++++++++++----------------- > target/hexagon/translate.c | 14 ++++++------- > target/hexagon/hex_common.py | 5 +++-- > 8 files changed, 58 insertions(+), 45 deletions(-)
Reviewed-by: Marco Liebel <[email protected]>
