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

Matheus Tavares Bernardino posted 2 patches 11 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1684939078.git.quic._5Fmathbern@quicinc.com
Maintainers: Taylor Simpson <tsimpson@quicinc.com>, Alessandro Di Federico <ale@rev.ng>, Anton Johansson <anjo@rev.ng>
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(-)
[PATCH v2 0/2] Hexagon: minor cleanups to comments and python scripts
Posted by Matheus Tavares Bernardino 11 months, 2 weeks ago
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/cover.1684873957.git.quic_mathbern@quicinc.com/

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(-)

-- 
2.37.2