[PATCH v1 0/6] target/hexagon: Misc HLX fixes

Anton Johansson via qemu development posted 6 patches 2 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261103192358.28589-1-anjo@rev.ng
Maintainers: Brian Cain <brian.cain@oss.qualcomm.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, Laurent Vivier <laurent@vivier.eu>, Helge Deller <deller@gmx.de>
There is a newer version of this series
linux-user/hexagon/target_cpu.h     |  1 +
target/hexagon/macros.h             | 13 +++++++----
target/hexagon/decode.c             | 20 +++++++++++++++--
target/hexagon/hlx_helper.c         | 31 +++++++++++++++++--------
target/hexagon/translate.c          |  7 +++---
tests/tcg/hexagon/hlx_assign_conv.c | 35 +++++++++++++++++++++++++++++
tests/tcg/hexagon/hlx_mem.c         | 22 ++++++++++++++++++
7 files changed, 111 insertions(+), 18 deletions(-)
[PATCH v1 0/6] target/hexagon: Misc HLX fixes
Posted by Anton Johansson via qemu development 2 weeks, 5 days ago
Hi,

I was too slow on the review before the series got PRd, so I'll
submit these preliminary fixes instead.  Not included here is a
fix for --disable-hexagon-idef-parser being broken with the new
stub HMX helpers.


Anton Johansson (6):
  target/hexagon: HLX, preserve scalar :mem_noshuf ordering
  target/hexagon: HLX, search for .new values in pair high register
  target/hexagon: Forward return address to HLX load/store helpers
  linux-user/hexagon: Reset hlx_ctx pointer on cpu clone
  tests/tcg/hexagon: test HLX scalar :mem_noshuf ordering
  tests/tcg/hexagon: HLX, test .new on pair high register

 linux-user/hexagon/target_cpu.h     |  1 +
 target/hexagon/macros.h             | 13 +++++++----
 target/hexagon/decode.c             | 20 +++++++++++++++--
 target/hexagon/hlx_helper.c         | 31 +++++++++++++++++--------
 target/hexagon/translate.c          |  7 +++---
 tests/tcg/hexagon/hlx_assign_conv.c | 35 +++++++++++++++++++++++++++++
 tests/tcg/hexagon/hlx_mem.c         | 22 ++++++++++++++++++
 7 files changed, 111 insertions(+), 18 deletions(-)

-- 
2.52.0
Re: [PATCH v1 0/6] target/hexagon: Misc HLX fixes
Posted by Marco Liebel 2 weeks, 4 days ago
On Tue, Nov 3, 2026 at 1:18 PM Anton Johansson <anjo@rev.ng> wrote:
>
> Hi,
>
> I was too slow on the review before the series got PRd, so I'll
> submit these preliminary fixes instead.  Not included here is a
> fix for --disable-hexagon-idef-parser being broken with the new
> stub HMX helpers.
>
>
> Anton Johansson (6):
>   target/hexagon: HLX, preserve scalar :mem_noshuf ordering
>   target/hexagon: HLX, search for .new values in pair high register
>   target/hexagon: Forward return address to HLX load/store helpers
>   linux-user/hexagon: Reset hlx_ctx pointer on cpu clone
>   tests/tcg/hexagon: test HLX scalar :mem_noshuf ordering
>   tests/tcg/hexagon: HLX, test .new on pair high register
>
>  linux-user/hexagon/target_cpu.h     |  1 +
>  target/hexagon/macros.h             | 13 +++++++----
>  target/hexagon/decode.c             | 20 +++++++++++++++--
>  target/hexagon/hlx_helper.c         | 31 +++++++++++++++++--------
>  target/hexagon/translate.c          |  7 +++---
>  tests/tcg/hexagon/hlx_assign_conv.c | 35 +++++++++++++++++++++++++++++
>  tests/tcg/hexagon/hlx_mem.c         | 22 ++++++++++++++++++
>  7 files changed, 111 insertions(+), 18 deletions(-)
>
> --
> 2.52.0
>

General note: I think combining patch 1+5 and 2+6 would make sense,
because then it's easier to reason about them and give feedback,
since they belong together.
Re: [PATCH v1 0/6] target/hexagon: Misc HLX fixes
Posted by Anton Johansson via qemu development 2 weeks, 3 days ago
On 04/11/26, Marco Liebel wrote:
> On Tue, Nov 3, 2026 at 1:18 PM Anton Johansson <anjo@rev.ng> wrote:
> >
> > Hi,
> >
> > I was too slow on the review before the series got PRd, so I'll
> > submit these preliminary fixes instead.  Not included here is a
> > fix for --disable-hexagon-idef-parser being broken with the new
> > stub HMX helpers.
> >
> >
> > Anton Johansson (6):
> >   target/hexagon: HLX, preserve scalar :mem_noshuf ordering
> >   target/hexagon: HLX, search for .new values in pair high register
> >   target/hexagon: Forward return address to HLX load/store helpers
> >   linux-user/hexagon: Reset hlx_ctx pointer on cpu clone
> >   tests/tcg/hexagon: test HLX scalar :mem_noshuf ordering
> >   tests/tcg/hexagon: HLX, test .new on pair high register
> >
> >  linux-user/hexagon/target_cpu.h     |  1 +
> >  target/hexagon/macros.h             | 13 +++++++----
> >  target/hexagon/decode.c             | 20 +++++++++++++++--
> >  target/hexagon/hlx_helper.c         | 31 +++++++++++++++++--------
> >  target/hexagon/translate.c          |  7 +++---
> >  tests/tcg/hexagon/hlx_assign_conv.c | 35 +++++++++++++++++++++++++++++
> >  tests/tcg/hexagon/hlx_mem.c         | 22 ++++++++++++++++++
> >  7 files changed, 111 insertions(+), 18 deletions(-)
> >
> > --
> > 2.52.0
> >
> 
> General note: I think combining patch 1+5 and 2+6 would make sense,
> because then it's easier to reason about them and give feedback,
> since they belong together.
> 

Right, will do! :)

-- 
Anton Johansson
rev.ng Labs Srl.

Re: [PATCH v1 0/6] target/hexagon: Misc HLX fixes
Posted by Brian Cain 2 weeks, 4 days ago
On 11/3/2026 1:23 PM, Anton Johansson via qemu development wrote:
> Hi,
>
> I was too slow on the review before the series got PRd, so I'll
> submit these preliminary fixes instead.  Not included here is a
> fix for --disable-hexagon-idef-parser being broken with the new
> stub HMX helpers.

Thanks for the fixes!  Traveling part of this week, I will take a look 
at it soon.


>
> Anton Johansson (6):
>    target/hexagon: HLX, preserve scalar :mem_noshuf ordering
>    target/hexagon: HLX, search for .new values in pair high register
>    target/hexagon: Forward return address to HLX load/store helpers
>    linux-user/hexagon: Reset hlx_ctx pointer on cpu clone
>    tests/tcg/hexagon: test HLX scalar :mem_noshuf ordering
>    tests/tcg/hexagon: HLX, test .new on pair high register
>
>   linux-user/hexagon/target_cpu.h     |  1 +
>   target/hexagon/macros.h             | 13 +++++++----
>   target/hexagon/decode.c             | 20 +++++++++++++++--
>   target/hexagon/hlx_helper.c         | 31 +++++++++++++++++--------
>   target/hexagon/translate.c          |  7 +++---
>   tests/tcg/hexagon/hlx_assign_conv.c | 35 +++++++++++++++++++++++++++++
>   tests/tcg/hexagon/hlx_mem.c         | 22 ++++++++++++++++++
>   7 files changed, 111 insertions(+), 18 deletions(-)
>