[PULL 00/17] Hexagon (target/hexagon) updates

Taylor Simpson posted 17 patches 1 year, 1 month ago
target/hexagon/cpu.h                        |   5 +-
target/hexagon/gen_tcg.h                    |  90 ++++-
target/hexagon/gen_tcg_hvx.h                |  17 +-
target/hexagon/idef-parser/idef-parser.h    |   1 -
target/hexagon/macros.h                     |  29 +-
target/hexagon/op_helper.h                  |   3 +-
target/hexagon/translate.h                  |  86 +++--
target/hexagon/attribs_def.h.inc            |   1 +
target/hexagon/genptr.c                     | 296 ++++++++++------
target/hexagon/idef-parser/parser-helpers.c |  19 +-
target/hexagon/op_helper.c                  |  60 ++--
target/hexagon/translate.c                  | 288 +++++++++-------
tests/tcg/hexagon/fpstuff.c                 |  31 +-
tests/tcg/hexagon/preg_alias.c              |  10 +-
tests/tcg/hexagon/scatter_gather.c          | 513 +++++++++++++++-------------
target/hexagon/README                       |  31 +-
target/hexagon/gen_analyze_funcs.py         | 252 ++++++++++++++
target/hexagon/gen_helper_funcs.py          |  19 +-
target/hexagon/gen_helper_protos.py         |  12 +-
target/hexagon/gen_tcg_funcs.py             | 152 +++------
target/hexagon/hex_common.py                |  10 +-
target/hexagon/idef-parser/idef-parser.lex  |  31 +-
target/hexagon/idef-parser/idef-parser.y    |  49 +--
target/hexagon/idef-parser/macros.inc       |   9 -
target/hexagon/meson.build                  |  11 +-
tests/tcg/hexagon/Makefile.target           |  13 +-
26 files changed, 1209 insertions(+), 829 deletions(-)
create mode 100755 target/hexagon/gen_analyze_funcs.py
[PULL 00/17] Hexagon (target/hexagon) updates
Posted by Taylor Simpson 1 year, 1 month ago
The following changes since commit f003dd8d81f7d88f4b1f8802309eaa76f6eb223a:

  Merge tag 'pull-tcg-20230305' of https://gitlab.com/rth7680/qemu into staging (2023-03-06 10:20:04 +0000)

are available in the Git repository at:

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

for you to fetch changes up to c2b33d0be998bf539953f1dad0aa0d1cc8d9d069:

  Hexagon (target/hexagon) Improve code gen for predicated HVX instructions (2023-03-06 20:47:12 -0800)

----------------------------------------------------------------
Hexagon (target/hexagon) updates

----------------------------------------------------------------
Anton Johansson (1):
      target/hexagon/idef-parser: Remove unused code paths

Richard Henderson (1):
      target/hexagon/idef-parser: Elide mov in gen_pred_assign

Taylor Simpson (15):
      Hexagon (target/hexagon) Restore --disable-hexagon-idef-parser build
      Hexagon (target/hexagon) Add overrides for jumpr31 instructions
      Hexagon (target/hexagon) Add overrides for callr
      Hexagon (target/hexagon) Add overrides for endloop1/endloop01
      Hexagon (target/hexagon) Add overrides for dealloc-return instructions
      Hexagon (target/hexagon) Analyze packet before generating TCG
      Hexagon (target/hexagon) Don't set pkt_has_store_s1 when not needed
      Hexagon (target/hexagon) Analyze packet for HVX
      Hexagon (tests/tcg/hexagon) Update preg_alias.c
      Hexagon (tests/tcg/hexagon) Remove __builtin from scatter_gather
      Hexagon (tests/tcg/hexagon) Enable HVX tests
      Hexagon (target/hexagon) Change subtract from zero to change sign
      Hexagon (target/hexagon) Remove gen_log_predicated_reg_write[_pair]
      Hexagon (target/hexagon) Reduce manipulation of slot_cancelled
      Hexagon (target/hexagon) Improve code gen for predicated HVX instructions

 target/hexagon/cpu.h                        |   5 +-
 target/hexagon/gen_tcg.h                    |  90 ++++-
 target/hexagon/gen_tcg_hvx.h                |  17 +-
 target/hexagon/idef-parser/idef-parser.h    |   1 -
 target/hexagon/macros.h                     |  29 +-
 target/hexagon/op_helper.h                  |   3 +-
 target/hexagon/translate.h                  |  86 +++--
 target/hexagon/attribs_def.h.inc            |   1 +
 target/hexagon/genptr.c                     | 296 ++++++++++------
 target/hexagon/idef-parser/parser-helpers.c |  19 +-
 target/hexagon/op_helper.c                  |  60 ++--
 target/hexagon/translate.c                  | 288 +++++++++-------
 tests/tcg/hexagon/fpstuff.c                 |  31 +-
 tests/tcg/hexagon/preg_alias.c              |  10 +-
 tests/tcg/hexagon/scatter_gather.c          | 513 +++++++++++++++-------------
 target/hexagon/README                       |  31 +-
 target/hexagon/gen_analyze_funcs.py         | 252 ++++++++++++++
 target/hexagon/gen_helper_funcs.py          |  19 +-
 target/hexagon/gen_helper_protos.py         |  12 +-
 target/hexagon/gen_tcg_funcs.py             | 152 +++------
 target/hexagon/hex_common.py                |  10 +-
 target/hexagon/idef-parser/idef-parser.lex  |  31 +-
 target/hexagon/idef-parser/idef-parser.y    |  49 +--
 target/hexagon/idef-parser/macros.inc       |   9 -
 target/hexagon/meson.build                  |  11 +-
 tests/tcg/hexagon/Makefile.target           |  13 +-
 26 files changed, 1209 insertions(+), 829 deletions(-)
 create mode 100755 target/hexagon/gen_analyze_funcs.py
Re: [PULL 00/17] Hexagon (target/hexagon) updates
Posted by Peter Maydell 1 year, 1 month ago
On Tue, 7 Mar 2023 at 05:34, Taylor Simpson <tsimpson@quicinc.com> wrote:
>
> The following changes since commit f003dd8d81f7d88f4b1f8802309eaa76f6eb223a:
>
>   Merge tag 'pull-tcg-20230305' of https://gitlab.com/rth7680/qemu into staging (2023-03-06 10:20:04 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/quic/qemu tags/pull-hex-20230306
>
> for you to fetch changes up to c2b33d0be998bf539953f1dad0aa0d1cc8d9d069:
>
>   Hexagon (target/hexagon) Improve code gen for predicated HVX instructions (2023-03-06 20:47:12 -0800)
>
> ----------------------------------------------------------------
> Hexagon (target/hexagon) updates
>
> ----------------------------------------------------------------



Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.0
for any user-visible changes.

-- PMM
RE: [PULL 00/17] Hexagon (target/hexagon) updates
Posted by Taylor Simpson 1 year, 1 month ago
Just checking if this is on the radar to be merged ...


> -----Original Message-----
> From: Taylor Simpson <tsimpson@quicinc.com>
> Sent: Monday, March 6, 2023 10:34 PM
> To: qemu-devel@nongnu.org
> Cc: Taylor Simpson <tsimpson@quicinc.com>; richard.henderson@linaro.org;
> philmd@linaro.org; peter.maydell@linaro.org; Brian Cain
> <bcain@quicinc.com>; Matheus Bernardino (QUIC)
> <quic_mathbern@quicinc.com>; stefanha@redhat.com; ale@rev.ng;
> anjo@rev.ng
> Subject: [PULL 00/17] Hexagon (target/hexagon) updates
> 
> The following changes since commit
> f003dd8d81f7d88f4b1f8802309eaa76f6eb223a:
> 
>   Merge tag 'pull-tcg-20230305' of https://gitlab.com/rth7680/qemu into
> staging (2023-03-06 10:20:04 +0000)
> 
> are available in the Git repository at:
> 
>   https://github.com/quic/qemu tags/pull-hex-20230306
> 
> for you to fetch changes up to
> c2b33d0be998bf539953f1dad0aa0d1cc8d9d069:
> 
>   Hexagon (target/hexagon) Improve code gen for predicated HVX
> instructions (2023-03-06 20:47:12 -0800)
> 
> ----------------------------------------------------------------
> Hexagon (target/hexagon) updates
> 
> ----------------------------------------------------------------
> Anton Johansson (1):
>       target/hexagon/idef-parser: Remove unused code paths
> 
> Richard Henderson (1):
>       target/hexagon/idef-parser: Elide mov in gen_pred_assign
> 
> Taylor Simpson (15):
>       Hexagon (target/hexagon) Restore --disable-hexagon-idef-parser build
>       Hexagon (target/hexagon) Add overrides for jumpr31 instructions
>       Hexagon (target/hexagon) Add overrides for callr
>       Hexagon (target/hexagon) Add overrides for endloop1/endloop01
>       Hexagon (target/hexagon) Add overrides for dealloc-return instructions
>       Hexagon (target/hexagon) Analyze packet before generating TCG
>       Hexagon (target/hexagon) Don't set pkt_has_store_s1 when not needed
>       Hexagon (target/hexagon) Analyze packet for HVX
>       Hexagon (tests/tcg/hexagon) Update preg_alias.c
>       Hexagon (tests/tcg/hexagon) Remove __builtin from scatter_gather
>       Hexagon (tests/tcg/hexagon) Enable HVX tests
>       Hexagon (target/hexagon) Change subtract from zero to change sign
>       Hexagon (target/hexagon) Remove gen_log_predicated_reg_write[_pair]
>       Hexagon (target/hexagon) Reduce manipulation of slot_cancelled
>       Hexagon (target/hexagon) Improve code gen for predicated HVX
> instructions
> 
>  target/hexagon/cpu.h                        |   5 +-
>  target/hexagon/gen_tcg.h                    |  90 ++++-
>  target/hexagon/gen_tcg_hvx.h                |  17 +-
>  target/hexagon/idef-parser/idef-parser.h    |   1 -
>  target/hexagon/macros.h                     |  29 +-
>  target/hexagon/op_helper.h                  |   3 +-
>  target/hexagon/translate.h                  |  86 +++--
>  target/hexagon/attribs_def.h.inc            |   1 +
>  target/hexagon/genptr.c                     | 296 ++++++++++------
>  target/hexagon/idef-parser/parser-helpers.c |  19 +-
>  target/hexagon/op_helper.c                  |  60 ++--
>  target/hexagon/translate.c                  | 288 +++++++++-------
>  tests/tcg/hexagon/fpstuff.c                 |  31 +-
>  tests/tcg/hexagon/preg_alias.c              |  10 +-
>  tests/tcg/hexagon/scatter_gather.c          | 513 +++++++++++++++------------
> -
>  target/hexagon/README                       |  31 +-
>  target/hexagon/gen_analyze_funcs.py         | 252 ++++++++++++++
>  target/hexagon/gen_helper_funcs.py          |  19 +-
>  target/hexagon/gen_helper_protos.py         |  12 +-
>  target/hexagon/gen_tcg_funcs.py             | 152 +++------
>  target/hexagon/hex_common.py                |  10 +-
>  target/hexagon/idef-parser/idef-parser.lex  |  31 +-
>  target/hexagon/idef-parser/idef-parser.y    |  49 +--
>  target/hexagon/idef-parser/macros.inc       |   9 -
>  target/hexagon/meson.build                  |  11 +-
>  tests/tcg/hexagon/Makefile.target           |  13 +-
>  26 files changed, 1209 insertions(+), 829 deletions(-)  create mode 100755
> target/hexagon/gen_analyze_funcs.py
Re: [PULL 00/17] Hexagon (target/hexagon) updates
Posted by Peter Maydell 1 year, 1 month ago
On Wed, 8 Mar 2023 at 19:36, Taylor Simpson <tsimpson@quicinc.com> wrote:
>
> Just checking if this is on the radar to be merged ...

Yes, it is; there's a backlog at the moment because of the usual
last minute rush to get pullreqs on list for softfreeze.

-- PMM