[PATCH 0/9] Hexagon (target/hexagon) New architecture support

Taylor Simpson posted 9 patches 1 year ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230426023018.1742266-1-tsimpson@quicinc.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Taylor Simpson <tsimpson@quicinc.com>, Laurent Vivier <laurent@vivier.eu>, Alessandro Di Federico <ale@rev.ng>, Anton Johansson <anjo@rev.ng>
There is a newer version of this series
configure                                    |   2 +-
linux-user/hexagon/target_elf.h              |  13 +-
target/hexagon/cpu.h                         |   4 +
target/hexagon/gen_tcg.h                     |  22 ++
target/hexagon/gen_tcg_hvx.h                 |  12 +
target/hexagon/mmvec/macros.h                |   9 +-
tests/tcg/hexagon/v6mpy_ref.h                | 161 ++++++++++
target/hexagon/attribs_def.h.inc             |  16 +
target/hexagon/cpu.c                         |  20 ++
target/hexagon/translate.c                   |   3 +
tests/tcg/hexagon/misc.c                     |  12 +
tests/tcg/hexagon/v68_hvx.c                  |  90 ++++++
tests/tcg/hexagon/v68_scalar.c               | 186 +++++++++++
tests/tcg/hexagon/v69_hvx.c                  | 318 ++++++++++++++++++
tests/tcg/hexagon/v73_scalar.c               |  96 ++++++
target/hexagon/gen_idef_parser_funcs.py      |   2 +
target/hexagon/imported/branch.idef          |   7 +-
target/hexagon/imported/encode_pp.def        |  21 +-
target/hexagon/imported/ldst.idef            |  20 +-
target/hexagon/imported/mmvec/encode_ext.def |  16 +-
target/hexagon/imported/mmvec/ext.idef       | 321 ++++++++++++++++++-
tests/tcg/hexagon/Makefile.target            |  13 +
22 files changed, 1349 insertions(+), 15 deletions(-)
create mode 100644 tests/tcg/hexagon/v6mpy_ref.h
create mode 100644 tests/tcg/hexagon/v68_hvx.c
create mode 100644 tests/tcg/hexagon/v68_scalar.c
create mode 100644 tests/tcg/hexagon/v69_hvx.c
create mode 100644 tests/tcg/hexagon/v73_scalar.c
[PATCH 0/9] Hexagon (target/hexagon) New architecture support
Posted by Taylor Simpson 1 year ago
Add support for new Hexagon architecture versions v68/v69/v71/v73


Taylor Simpson (9):
  Hexagon (target/hexagon) Add support for v68/v69/v71/v73
  Hexagon (target/hexagon) Add v68 scalar instructions
  Hexagon (tests/tcg/hexagon) Add v68 scalar tests
  Hexagon (target/hexagon) Add v68 HVX instructions
  Hexagon (tests/tcg/hexagon) Add v68 HVX tests
  Hexagon (target/hexagon) Add v69 HVX instructions
  Hexagon (tests/tcg/hexagon) Add v69 HVX tests
  Hexagon (target/hexagon) Add v73 scalar instructions
  Hexagon (tests/tcg/hexagon) Add v73 scalar tests

 configure                                    |   2 +-
 linux-user/hexagon/target_elf.h              |  13 +-
 target/hexagon/cpu.h                         |   4 +
 target/hexagon/gen_tcg.h                     |  22 ++
 target/hexagon/gen_tcg_hvx.h                 |  12 +
 target/hexagon/mmvec/macros.h                |   9 +-
 tests/tcg/hexagon/v6mpy_ref.h                | 161 ++++++++++
 target/hexagon/attribs_def.h.inc             |  16 +
 target/hexagon/cpu.c                         |  20 ++
 target/hexagon/translate.c                   |   3 +
 tests/tcg/hexagon/misc.c                     |  12 +
 tests/tcg/hexagon/v68_hvx.c                  |  90 ++++++
 tests/tcg/hexagon/v68_scalar.c               | 186 +++++++++++
 tests/tcg/hexagon/v69_hvx.c                  | 318 ++++++++++++++++++
 tests/tcg/hexagon/v73_scalar.c               |  96 ++++++
 target/hexagon/gen_idef_parser_funcs.py      |   2 +
 target/hexagon/imported/branch.idef          |   7 +-
 target/hexagon/imported/encode_pp.def        |  21 +-
 target/hexagon/imported/ldst.idef            |  20 +-
 target/hexagon/imported/mmvec/encode_ext.def |  16 +-
 target/hexagon/imported/mmvec/ext.idef       | 321 ++++++++++++++++++-
 tests/tcg/hexagon/Makefile.target            |  13 +
 22 files changed, 1349 insertions(+), 15 deletions(-)
 create mode 100644 tests/tcg/hexagon/v6mpy_ref.h
 create mode 100644 tests/tcg/hexagon/v68_hvx.c
 create mode 100644 tests/tcg/hexagon/v68_scalar.c
 create mode 100644 tests/tcg/hexagon/v69_hvx.c
 create mode 100644 tests/tcg/hexagon/v73_scalar.c

-- 
2.25.1