Skip to content

Hexagon (target/hexagon) Improve USR handling

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 Latest3 patches 2 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Address feedback from Brian Cain <[email protected]> Use symbolic/named operands in inline asm
- Added more packet test cases

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Hexagon (target/hexagon) Add pkt_need_commit argument to arch_fpop_endtarget/hexagon/arch.c target/hexagon/arch.h target/hexagon/gen_helper_funcs.py +4 more+294 -2380 replies
2/3Hexagon (target/hexagon) Implicit writes to USR don't force packet committarget/hexagon/translate.c target/hexagon/translate.h+23 -130 replies
3/3Hexagon (tests/tcg/hexagon) Add test for USR changes in packettests/tcg/hexagon/usr.c+54 -01 reply

Reviews trailers per patch

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

PatchBrian Cain
1/3R-b
2/3R-b
3/3R-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/3] Hexagon (target/hexagon) Improve USR handling

Currently, any instruction that writes USR disables short-circuiting a packet. When the write is implicit, we can allow the short-circuit.

Changes in v2:
- Properly handle implicit USR writes when packet commit is necessary
- Added test case

Changes in v3:
- Address feedback from Brian Cain <[email protected]> Use symbolic/named operands in inline asm
- Added more packet test cases

Taylor Simpson (3):
Hexagon (target/hexagon) Add pkt_need_commit argument to arch_fpop_end Hexagon (target/hexagon) Implicit writes to USR don't force packet
commit
Hexagon (tests/tcg/hexagon) Add test for USR changes in packet

 target/hexagon/arch.h              |   2 +-
 target/hexagon/gen_tcg.h           | 114 ++++++------
 target/hexagon/helper.h            | 114 ++++++------
 target/hexagon/translate.h         |   1 +
 target/hexagon/arch.c              |   3 +-
 target/hexagon/op_helper.c         | 287 +++++++++++++++++------------
 target/hexagon/translate.c         |  35 ++--
 tests/tcg/hexagon/usr.c            |  54 ++++++
 target/hexagon/gen_helper_funcs.py |   8 +-
 target/hexagon/gen_tcg_funcs.py    |   4 +
 10 files changed, 371 insertions(+), 251 deletions(-)
Signature · 1 line
2.43.0