qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Hexagon: minor cleanups to comments and python scripts
@ 2023-05-24 14:41 Matheus Tavares Bernardino
  2023-05-24 14:41 ` [PATCH v2 1/2] target/hexagon/*.py: clean up used 'toss' and 'numregs' vars Matheus Tavares Bernardino
  2023-05-24 14:41 ` [PATCH v2 2/2] Hexagon: fix outdated `hex_new_*` comments Matheus Tavares Bernardino
  0 siblings, 2 replies; 5+ messages in thread
From: Matheus Tavares Bernardino @ 2023-05-24 14:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: tsimpson, bcain, quic_mliebel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-24 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-24 14:41 [PATCH v2 0/2] Hexagon: minor cleanups to comments and python scripts Matheus Tavares Bernardino
2023-05-24 14:41 ` [PATCH v2 1/2] target/hexagon/*.py: clean up used 'toss' and 'numregs' vars Matheus Tavares Bernardino
2023-05-24 16:42   ` Taylor Simpson
2023-05-24 14:41 ` [PATCH v2 2/2] Hexagon: fix outdated `hex_new_*` comments Matheus Tavares Bernardino
2023-05-24 16:43   ` Taylor Simpson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).