Add support for new Hexagon architecture versions v68/v69/v71/v73 **** Changes in v2 **** Address feedback from Anton Johansson <a...@rev.ng> Rename v6mpy_ref.h to v6mpy_ref.c.inc Shorten format of hexagon_v*_cpu_init_functions Change loop counts MAX_VEC_SIZE_BYTES / 2 to MAX_VEC_SIZE_BYTES / 4
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 +- target/hexagon/attribs_def.h.inc | 16 + target/hexagon/cpu.c | 14 +- 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 ++++++ tests/tcg/hexagon/v6mpy_ref.c.inc | 161 ++++++++++ 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, 1339 insertions(+), 19 deletions(-) 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 create mode 100644 tests/tcg/hexagon/v6mpy_ref.c.inc -- 2.25.1