Skip to content

target/hexagon: Misc HLX fixes

Anton Johansson via qemu development qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v24 patches 6 repliesSuperseded
  3. v16 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- named-parameter substitution for inline assembly tests (Brian)
- Add Instruction::has_pair_dest to find all possible pair producers (Brian, Marco)
- Move new-regno patching to the non-HLX path of decode_fill_newvalue_regno() to avoid incorrectly overwriting consumer registers (Marco)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/hexagon: HLX, preserve scalar :mem_noshuf orderingtarget/hexagon/translate.c tests/tcg/hexagon/hlx_mem.c+26 -30 replies
2/4target/hexagon: HLX, search for .new values in pair high registertarget/hexagon/decode.c target/hexagon/gen_trans_funcs.py target/hexagon/hex_common.py +2 more+66 -62 replies
3/4target/hexagon: Forward return address to HLX load/store helperstarget/hexagon/hlx_helper.c target/hexagon/hlx_helper.h target/hexagon/macros.h+50 -131 reply
4/4linux-user/hexagon: Reset hlx_ctx pointer on cpu clonelinux-user/hexagon/target_cpu.h+1 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMarco LiebelBrian Cain
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] target/hexagon: Misc HLX fixes

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.

Changes in v2:
- Squashed tests into their respective fix patches (Marco)
- Added missing file (Marco)

Changes in v3:
- named-parameter substitution for inline assembly tests (Brian)
- Add Instruction::has_pair_dest to find all possible pair producers (Brian, Marco)
- Move new-regno patching to the non-HLX path of decode_fill_newvalue_regno() to avoid incorrectly overwriting consumer registers (Marco)

Anton Johansson (4):
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

 linux-user/hexagon/target_cpu.h     |  1 +
 target/hexagon/hlx_helper.h         | 19 ++++++++++++++++
 target/hexagon/insn.h               |  1 +
 target/hexagon/macros.h             | 13 +++++++----
 target/hexagon/decode.c             | 29 +++++++++++++++++++-----
 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 ++++++++++++++++++
 target/hexagon/gen_trans_funcs.py   |  5 +++++
 target/hexagon/hex_common.py        |  2 ++
 11 files changed, 143 insertions(+), 22 deletions(-)
 create mode 100644 target/hexagon/hlx_helper.h
Signature · 1 line
2.52.0