Skip to content

Hexagon: minor cleanups to comments and python scripts

Matheus Tavares Bernardino qemu-devel 2 versions – Applied

Status from this message: Queued to hex.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Patch 1: adjusted get_regtags() to filter out the unused regs, also removing the unused variables at the call sites.
- Patch 2: replaced outdated comments with pseudocode

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2target/hexagon/*.py: clean up used 'toss' and 'numregs' varstarget/hexagon/gen_analyze_funcs.py target/hexagon/gen_helper_funcs.py target/hexagon/gen_helper_protos.py +4 more+70 -701 reply
2/2Hexagon: fix outdated `hex_new_*` commentstarget/hexagon/genptr.c target/hexagon/translate.c+13 -151 reply

Reviews trailers per patch

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

PatchTaylor Simpson
1/2R-b T-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Hexagon: minor cleanups to comments and python scripts

These are two minor follow ups to the last Hexagon pull, updating some stale code comments and removing undefined variables at python scripts.

Changes in v2:
- Patch 1: adjusted get_regtags() to filter out the unused regs, also removing the unused variables at the call sites.
- Patch 2: replaced outdated comments with pseudocode

v1: https://lore.kernel.org/qemu-devel/[email protected]/

Matheus Tavares Bernardino (2):
target/hexagon/*.py: clean up used 'toss' and 'numregs' vars
Hexagon: fix outdated hex_new_* comments

 target/hexagon/genptr.c                 | 26 +++++++-------
 target/hexagon/translate.c              |  2 +-
 target/hexagon/gen_analyze_funcs.py     | 10 +++---
 target/hexagon/gen_helper_funcs.py      | 30 ++++++++--------
 target/hexagon/gen_helper_protos.py     | 22 ++++++------
 target/hexagon/gen_idef_parser_funcs.py |  4 +--
 target/hexagon/gen_op_regs.py           |  4 +--
 target/hexagon/gen_tcg_funcs.py         | 46 ++++++++++++-------------
 target/hexagon/hex_common.py            | 24 ++++++-------
 9 files changed, 83 insertions(+), 85 deletions(-)
Signature · 1 line
2.37.2