Skip to content

Hexagon (target/hexagon) Check for multiwrites in analyze_packet

Taylor Simpson qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 10 repliesIn review
  2. v210 patches 20 repliesSuperseded
  3. v18 patches 1 replySuperseded

Changes in v3 from the cover letter

- Address feedback from Brian Cain <[email protected]> Fix check-functional failures
Typo in commit comment
- Address feedback from Marco Liebel <[email protected]> Add test for mixed predicated/unconditional writes to vreg

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Hexagon (target/hexagon) Move code out of gen_start_packettarget/hexagon/translate.c+26 -190 replies
2/10Hexagon (target/hexagon) Check for GPR multiwrite in analyze_packettarget/hexagon/translate.c target/hexagon/translate.h+28 -11 reply
3/10Hexagon (tests/tcg/hexagon) Add tests for multi-destination instructionstests/tcg/hexagon/multiple-writes.c+60 -00 replies
4/10Hexagon (target/hexagon) Check for vreg multiwrite in analyze_packettarget/hexagon/translate.c target/hexagon/translate.h+20 -10 replies
5/10Hexagon (tests/tcg/hexagon) Add tests for vreg multiple writestests/tcg/hexagon/meson.build tests/tcg/hexagon/multiple-writes.c+67 -12 replies
6/10Hexagon (target/hexagon) Check for qreg multiwrite in analyze_packettarget/hexagon/translate.c target/hexagon/translate.h+11 -11 reply
7/10Hexagon (tests/tcg/hexagon) Add tests for qreg multiple writestests/tcg/hexagon/multiple-writes.c+23 -01 reply
8/10Hexagon (target/hexagon) Check for greg multiwrite in analyze_packettarget/hexagon/translate.c target/hexagon/translate.h+17 -22 replies
9/10Hexagon (target/hexagon) Check for sreg multiwrite in analyze_packettarget/hexagon/translate.c target/hexagon/translate.h+15 -22 replies
10/10Hexagon (target/hexagon) Remove old way of detecting register multiwritestarget/hexagon/decode.c target/hexagon/gen_trans_funcs.py target/hexagon/insn.h +1 more+0 -740 replies

Reviews trailers per patch

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

PatchMarco LiebelBrian Cain
1/10R-b R-b
2/10R-b R-b
3/10R-b R-b
4/10R-b
5/10R-b R-b
6/10R-b R-b
7/10R-b R-b
8/10R-b R-b
9/10R-b R-b
10/10R-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 00/10] Hexagon (target/hexagon) Check for multiwrites in analyze_packet

Currently, we check for register multiwrites during packet decode. The downside of this approach is that it only checks a single destination register for each instruction. During analyze_packet, we can check for more than one write per instruction. Further, we can check for different types of registers. This series adds checks for HVX v-registers and q-registers.

Note that multiple writes to a predicate register are allowed on Hexagon.

Changes in v2
- Rebase against latest sources, including Hexagon system mode
- Add checks for multiple writes to system registers

Changes in v3
- Address feedback from Brian Cain <[email protected]> Fix check-functional failures
Typo in commit comment
- Address feedback from Marco Liebel <[email protected]> Add test for mixed predicated/unconditional writes to vreg

Taylor Simpson (10):
Hexagon (target/hexagon) Move code out of gen_start_packet Hexagon (target/hexagon) Check for GPR multiwrite in analyze_packet Hexagon (tests/tcg/hexagon) Add tests for multi-destination
instructions
Hexagon (target/hexagon) Check for vreg multiwrite in analyze_packet Hexagon (tests/tcg/hexagon) Add tests for vreg multiple writes Hexagon (target/hexagon) Check for qreg multiwrite in analyze_packet Hexagon (tests/tcg/hexagon) Add tests for qreg multiple writes Hexagon (target/hexagon) Check for greg multiwrite in analyze_packet Hexagon (target/hexagon) Check for sreg multiwrite in analyze_packet Hexagon (target/hexagon) Remove old way of detecting register
multiwrites

 target/hexagon/insn.h               |   4 -
 target/hexagon/translate.h          |  47 +++++++--
 target/hexagon/decode.c             |  54 ----------
 target/hexagon/translate.c          |  90 +++++++++++++----
 tests/tcg/hexagon/multiple-writes.c | 149 ++++++++++++++++++++++++++++
 target/hexagon/gen_trans_funcs.py   |  10 --
 tests/tcg/hexagon/meson.build       |   2 +-
 7 files changed, 261 insertions(+), 95 deletions(-)
Signature · 1 line
2.43.0