[PULL 00/15] Hexagon: simplify gen for packets w/o read-after-write

Brian Cain posted 15 patches 6 months, 3 weeks ago
Failed in applying to current master (apply log)
Maintainers: Brian Cain <bcain@quicinc.com>, Alessandro Di Federico <ale@rev.ng>, Anton Johansson <anjo@rev.ng>
target/hexagon/README                   |  11 +-
target/hexagon/attribs_def.h.inc        |   3 +-
target/hexagon/decode.c                 |  48 +-------
target/hexagon/gen_analyze_funcs.py     |  70 ++++++------
target/hexagon/gen_helper_funcs.py      |  21 +---
target/hexagon/gen_helper_protos.py     |  31 ++----
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.h                |   5 +-
target/hexagon/gen_tcg_func_table.py    |   5 +-
target/hexagon/gen_tcg_funcs.py         |  21 +---
target/hexagon/gen_trans_funcs.py       |  26 ++++-
target/hexagon/hex_common.py            | 189 ++++++++++++++++++++++----------
target/hexagon/insn.h                   |   5 +-
target/hexagon/macros.h                 |   6 +-
target/hexagon/meson.build              |  55 +++-------
target/hexagon/mmvec/decode_ext_mmvec.c |  30 ++---
target/hexagon/opcodes.c                |  35 ------
target/hexagon/opcodes.h                |   4 -
target/hexagon/translate.c              |  77 ++-----------
target/hexagon/translate.h              | 119 ++++++++++++++++----
tests/tcg/hexagon/hvx_misc.c            |  16 ++-
26 files changed, 374 insertions(+), 610 deletions(-)
delete mode 100755 target/hexagon/gen_op_regs.py
delete mode 100755 target/hexagon/gen_shortcode.py
[PULL 00/15] Hexagon: simplify gen for packets w/o read-after-write
Posted by Brian Cain 6 months, 3 weeks ago
The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5:

  Merge tag 'pull-axp-20240504' of https://gitlab.com/rth7680/qemu into staging (2024-05-04 08:39:46 -0700)

are available in the Git repository at:

  https://github.com/quic/qemu tags/pull-hex-20240505

for you to fetch changes up to a4696661491cac8c1c08e7d482d751f808ce3143:

  Hexagon (target/hexagon) Remove hex_common.read_attribs_file (2024-05-05 16:22:07 -0700)

----------------------------------------------------------------
Short-circuit for packets w/o read-after-write
Cleanup unused code in gen_*.py scripts

----------------------------------------------------------------
Taylor Simpson (15):
      Hexagon (target/hexagon) Analyze reads before writes
      Hexagon (target/hexagon) Enable more short-circuit packets (scalar core)
      Hexagon (target/hexagon) Enable more short-circuit packets (HVX)
      Hexagon (target/hexagon) Pass P0 explicitly to helpers that need it
      Hexagon (target/hexagon) Pass SP explicitly to helpers that need it
      Hexagon (target/hexagon) Only pass env to generated helper when needed
      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/README                   |  11 +-
 target/hexagon/attribs_def.h.inc        |   3 +-
 target/hexagon/decode.c                 |  48 +-------
 target/hexagon/gen_analyze_funcs.py     |  70 ++++++------
 target/hexagon/gen_helper_funcs.py      |  21 +---
 target/hexagon/gen_helper_protos.py     |  31 ++----
 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.h                |   5 +-
 target/hexagon/gen_tcg_func_table.py    |   5 +-
 target/hexagon/gen_tcg_funcs.py         |  21 +---
 target/hexagon/gen_trans_funcs.py       |  26 ++++-
 target/hexagon/hex_common.py            | 189 ++++++++++++++++++++++----------
 target/hexagon/insn.h                   |   5 +-
 target/hexagon/macros.h                 |   6 +-
 target/hexagon/meson.build              |  55 +++-------
 target/hexagon/mmvec/decode_ext_mmvec.c |  30 ++---
 target/hexagon/opcodes.c                |  35 ------
 target/hexagon/opcodes.h                |   4 -
 target/hexagon/translate.c              |  77 ++-----------
 target/hexagon/translate.h              | 119 ++++++++++++++++----
 tests/tcg/hexagon/hvx_misc.c            |  16 ++-
 26 files changed, 374 insertions(+), 610 deletions(-)
 delete mode 100755 target/hexagon/gen_op_regs.py
 delete mode 100755 target/hexagon/gen_shortcode.py
Re: [PULL 00/15] Hexagon: simplify gen for packets w/o read-after-write
Posted by Richard Henderson 6 months, 3 weeks ago
On 5/5/24 19:42, Brian Cain wrote:
> The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5:
> 
>    Merge tag 'pull-axp-20240504' ofhttps://gitlab.com/rth7680/qemu  into staging (2024-05-04 08:39:46 -0700)
> 
> are available in the Git repository at:
> 
>    https://github.com/quic/qemu  tags/pull-hex-20240505
> 
> for you to fetch changes up to a4696661491cac8c1c08e7d482d751f808ce3143:
> 
>    Hexagon (target/hexagon) Remove hex_common.read_attribs_file (2024-05-05 16:22:07 -0700)
> 
> ----------------------------------------------------------------
> Short-circuit for packets w/o read-after-write
> Cleanup unused code in gen_*.py scripts

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.


r~