qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Hexagon (target/hexagon) Clean up .new decode and scripts
@ 2024-02-26 20:17 Taylor Simpson
  2024-02-26 20:17 ` [PATCH 1/9] Hexagon (target/hexagon) Add is_old/is_new to Register class Taylor Simpson
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Taylor Simpson @ 2024-02-26 20:17 UTC (permalink / raw)
  To: qemu-devel
  Cc: bcain, quic_mathbern, sidneym, quic_mliebel, richard.henderson,
	philmd, ale, anjo, ltaylorsimpson

During .new decode, there are several places where strchr is used.
We remove these by generating the values that are needed.

Once we have generated the proper values, we no longer need
op_regs_generated.h.inc.  We remove the script that generates it as
well as the code in meson.build

We also remove the script and meson.build code that creates
shortcode_generated.h.inc.  The data structure that includes it is
not used.

We remove hex_common.read_attribs_file.  The Python data structures built
during this step are not used.


Taylor Simpson (9):
  Hexagon (target/hexagon) Add is_old/is_new to Register class
  Hexagon (target/hexagon) Mark new_read_idx in trans functions
  Hexagon (target/hexagon) Mark dest_idx in trans functions
  Hexagon (target/hexagon) Mark has_pred_dest in trans functions
  Hexagon (tests/tcg/hexagon) Test HVX .new read from high half of pair
  Hexagon (target/hexagon) Remove uses of op_regs_generated.h.inc
  Hexagon (target/hexagon) Remove gen_op_regs.py
  Hexagon (target/hexagon) Remove gen_shortcode.py
  Hexagon (target/hexagon) Remove hex_common.read_attribs_file

 target/hexagon/insn.h                   |   5 +-
 target/hexagon/opcodes.h                |   4 -
 target/hexagon/decode.c                 |  50 ++--------
 target/hexagon/mmvec/decode_ext_mmvec.c |  30 ++----
 target/hexagon/opcodes.c                |  35 -------
 tests/tcg/hexagon/hvx_misc.c            |  16 ++-
 target/hexagon/README                   |   2 -
 target/hexagon/gen_analyze_funcs.py     |  21 +---
 target/hexagon/gen_helper_funcs.py      |  21 +---
 target/hexagon/gen_helper_protos.py     |  21 +---
 target/hexagon/gen_idef_parser_funcs.py |   5 +-
 target/hexagon/gen_op_attribs.py        |   5 +-
 target/hexagon/gen_op_regs.py           | 125 ------------------------
 target/hexagon/gen_opcodes_def.py       |   4 +-
 target/hexagon/gen_printinsn.py         |   5 +-
 target/hexagon/gen_shortcode.py         |  63 ------------
 target/hexagon/gen_tcg_func_table.py    |   5 +-
 target/hexagon/gen_tcg_funcs.py         |  21 +---
 target/hexagon/gen_trans_funcs.py       |  23 ++++-
 target/hexagon/hex_common.py            |  49 +++++++---
 target/hexagon/meson.build              |  55 ++++-------
 21 files changed, 119 insertions(+), 446 deletions(-)
 delete mode 100755 target/hexagon/gen_op_regs.py
 delete mode 100755 target/hexagon/gen_shortcode.py

-- 
2.34.1



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

end of thread, other threads:[~2024-02-29 11:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 20:17 [PATCH 0/9] Hexagon (target/hexagon) Clean up .new decode and scripts Taylor Simpson
2024-02-26 20:17 ` [PATCH 1/9] Hexagon (target/hexagon) Add is_old/is_new to Register class Taylor Simpson
2024-02-29 11:04   ` Philippe Mathieu-Daudé
2024-02-26 20:17 ` [PATCH 2/9] Hexagon (target/hexagon) Mark new_read_idx in trans functions Taylor Simpson
2024-02-27 14:19   ` Matheus Tavares Bernardino
2024-02-27 15:50     ` ltaylorsimpson
2024-02-26 20:17 ` [PATCH 3/9] Hexagon (target/hexagon) Mark dest_idx " Taylor Simpson
2024-02-27 14:20   ` Matheus Tavares Bernardino
2024-02-26 20:17 ` [PATCH 4/9] Hexagon (target/hexagon) Mark has_pred_dest " Taylor Simpson
2024-02-27 14:21   ` Matheus Tavares Bernardino
2024-02-27 15:50     ` ltaylorsimpson
2024-02-26 20:17 ` [PATCH 5/9] Hexagon (tests/tcg/hexagon) Test HVX .new read from high half of pair Taylor Simpson
2024-02-26 20:17 ` [PATCH 6/9] Hexagon (target/hexagon) Remove uses of op_regs_generated.h.inc Taylor Simpson
2024-02-26 20:17 ` [PATCH 7/9] Hexagon (target/hexagon) Remove gen_op_regs.py Taylor Simpson
2024-02-26 20:17 ` [PATCH 8/9] Hexagon (target/hexagon) Remove gen_shortcode.py Taylor Simpson
2024-02-26 20:17 ` [PATCH 9/9] Hexagon (target/hexagon) Remove hex_common.read_attribs_file 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).