From: Taylor Simpson <tsimpson@quicinc.com>
To: qemu-devel@nongnu.org
Cc: ale@rev.ng, peter.maydell@linaro.org, bcain@quicinc.com,
richard.henderson@linaro.org, tsimpson@quicinc.com,
philmd@redhat.com
Subject: [PATCH 00/20] Hexagon HVX (target/hexagon) patch series
Date: Mon, 5 Jul 2021 18:34:14 -0500 [thread overview]
Message-ID: <1625528074-19440-1-git-send-email-tsimpson@quicinc.com> (raw)
This series adds support for the Hexagon Vector eXtensions (HVX)
These instructions are documented here
https://developer.qualcomm.com/downloads/qualcomm-hexagon-v66-hvx-programmer-s-reference-manual
Hexagon HVX is a wide vector engine with 128 byte vectors.
See patch 01 Hexagon HVX README for more information.
*** Known checkpatch issues ***
The following are known checkpatch errors in the series
target/hexagon/gen_semantics.c Suspicious ; after while (0)
tests/tcg/hexagon/hvx_misc.c Spaces around operator in macro invocation
Taylor Simpson (20):
Hexagon HVX (target/hexagon) README
Hexagon HVX (target/hexagon) add Hexagon Vector eXtensions (HVX) to
core
Hexagon HVX (target/hexagon) register names
Hexagon HVX (target/hexagon) support in gdbstub
Hexagon HVX (target/hexagon) instruction attributes
Hexagon HVX (target/hexagon) macros
Hexagon HVX (target/hexagon) import macro definitions
Hexagon HVX (target/hexagon) semantics generator
Hexagon HVX (target/hexagon) semantics generator - part 2
Hexagon HVX (target/hexagon) C preprocessor for decode tree
Hexagon HVX (target/hexagon) instruction utility functions
Hexagon HVX (target/hexagon) helper functions
Hexagon HVX (target/hexagon) TCG generation
Hexagon HVX (target/hexagon) import semantics
Hexagon HVX (target/hexagon) instruction decoding
Hexagon HVX (target/hexagon) import instruction encodings
Hexagon HVX (tests/tcg/hexagon) vector_add_int test
Hexagon HVX (tests/tcg/hexagon) hvx_misc test
Hexagon HVX (tests/tcg/hexagon) scatter_gather test
Hexagon HVX (tests/tcg/hexagon) histogram test
target/hexagon/arch.h | 1 +
target/hexagon/cpu.h | 35 +-
target/hexagon/helper.h | 1 +
target/hexagon/hex_arch_types.h | 5 +
target/hexagon/hex_regs.h | 1 +
target/hexagon/insn.h | 3 +
target/hexagon/internal.h | 3 +
target/hexagon/macros.h | 22 +
target/hexagon/mmvec/decode_ext_mmvec.h | 24 +
target/hexagon/mmvec/macros.h | 478 +++++
target/hexagon/mmvec/mmvec.h | 83 +
target/hexagon/mmvec/system_ext_mmvec.h | 35 +
target/hexagon/translate.h | 54 +
tests/tcg/hexagon/hvx_histogram_input.h | 717 +++++++
tests/tcg/hexagon/hvx_histogram_row.h | 24 +
target/hexagon/attribs_def.h.inc | 22 +
target/hexagon/arch.c | 9 +
target/hexagon/cpu.c | 72 +-
target/hexagon/decode.c | 28 +-
target/hexagon/gdbstub.c | 66 +
target/hexagon/gen_dectree_import.c | 13 +
target/hexagon/gen_semantics.c | 33 +
target/hexagon/genptr.c | 111 ++
target/hexagon/mmvec/decode_ext_mmvec.c | 235 +++
target/hexagon/mmvec/system_ext_mmvec.c | 119 ++
target/hexagon/op_helper.c | 74 +-
target/hexagon/translate.c | 199 ++
tests/tcg/hexagon/hvx_histogram.c | 88 +
tests/tcg/hexagon/hvx_misc.c | 331 ++++
tests/tcg/hexagon/scatter_gather.c | 1011 ++++++++++
tests/tcg/hexagon/vector_add_int.c | 61 +
target/hexagon/README | 83 +-
target/hexagon/gen_helper_funcs.py | 111 +-
target/hexagon/gen_helper_protos.py | 16 +-
target/hexagon/gen_tcg_funcs.py | 254 ++-
target/hexagon/hex_common.py | 9 +-
target/hexagon/imported/allext.idef | 25 +
target/hexagon/imported/allext_macros.def | 25 +
target/hexagon/imported/allextenc.def | 20 +
target/hexagon/imported/allidefs.def | 1 +
target/hexagon/imported/encode.def | 1 +
target/hexagon/imported/macros.def | 88 +
target/hexagon/imported/mmvec/encode_ext.def | 794 ++++++++
target/hexagon/imported/mmvec/ext.idef | 2606 ++++++++++++++++++++++++++
target/hexagon/imported/mmvec/macros.def | 842 +++++++++
target/hexagon/meson.build | 2 +
tests/tcg/hexagon/Makefile.target | 12 +
tests/tcg/hexagon/hvx_histogram_row.S | 294 +++
48 files changed, 9110 insertions(+), 31 deletions(-)
create mode 100644 target/hexagon/mmvec/decode_ext_mmvec.h
create mode 100644 target/hexagon/mmvec/macros.h
create mode 100644 target/hexagon/mmvec/mmvec.h
create mode 100644 target/hexagon/mmvec/system_ext_mmvec.h
create mode 100644 tests/tcg/hexagon/hvx_histogram_input.h
create mode 100644 tests/tcg/hexagon/hvx_histogram_row.h
create mode 100644 target/hexagon/mmvec/decode_ext_mmvec.c
create mode 100644 target/hexagon/mmvec/system_ext_mmvec.c
create mode 100644 tests/tcg/hexagon/hvx_histogram.c
create mode 100644 tests/tcg/hexagon/hvx_misc.c
create mode 100644 tests/tcg/hexagon/scatter_gather.c
create mode 100644 tests/tcg/hexagon/vector_add_int.c
create mode 100644 target/hexagon/imported/allext.idef
create mode 100644 target/hexagon/imported/allext_macros.def
create mode 100644 target/hexagon/imported/allextenc.def
create mode 100644 target/hexagon/imported/mmvec/encode_ext.def
create mode 100644 target/hexagon/imported/mmvec/ext.idef
create mode 100755 target/hexagon/imported/mmvec/macros.def
create mode 100644 tests/tcg/hexagon/hvx_histogram_row.S
--
2.7.4
next reply other threads:[~2021-07-05 23:37 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-05 23:34 Taylor Simpson [this message]
2021-07-05 23:34 ` [PATCH 01/20] Hexagon HVX (target/hexagon) README Taylor Simpson
2021-07-12 8:16 ` Rob Landley
2021-07-12 13:42 ` Brian Cain
2021-07-19 1:10 ` Rob Landley
2021-07-19 13:39 ` Brian Cain
2021-07-19 16:19 ` Sid Manning
2021-07-26 7:57 ` Rob Landley
2021-07-26 8:54 ` Rob Landley
2021-07-26 13:59 ` Taylor Simpson
2021-07-28 8:11 ` Rob Landley
2021-11-25 6:26 ` Rob Landley
2021-07-05 23:34 ` [PATCH 02/20] Hexagon HVX (target/hexagon) add Hexagon Vector eXtensions (HVX) to core Taylor Simpson
2021-07-25 13:08 ` Richard Henderson
2021-07-26 4:02 ` Taylor Simpson
2021-07-27 17:21 ` Taylor Simpson
2021-07-05 23:34 ` [PATCH 03/20] Hexagon HVX (target/hexagon) register names Taylor Simpson
2021-07-25 13:10 ` Richard Henderson
2021-07-05 23:34 ` [PATCH 04/20] Hexagon HVX (target/hexagon) support in gdbstub Taylor Simpson
2021-07-05 23:34 ` [PATCH 05/20] Hexagon HVX (target/hexagon) instruction attributes Taylor Simpson
2021-07-05 23:34 ` [PATCH 06/20] Hexagon HVX (target/hexagon) macros Taylor Simpson
2021-07-25 13:13 ` Richard Henderson
2021-07-05 23:34 ` [PATCH 07/20] Hexagon HVX (target/hexagon) import macro definitions Taylor Simpson
2021-07-05 23:34 ` [PATCH 08/20] Hexagon HVX (target/hexagon) semantics generator Taylor Simpson
2021-07-05 23:34 ` [PATCH 09/20] Hexagon HVX (target/hexagon) semantics generator - part 2 Taylor Simpson
2021-07-05 23:34 ` [PATCH 10/20] Hexagon HVX (target/hexagon) C preprocessor for decode tree Taylor Simpson
2021-07-25 13:15 ` Richard Henderson
2021-07-05 23:34 ` [PATCH 11/20] Hexagon HVX (target/hexagon) instruction utility functions Taylor Simpson
2021-07-25 13:21 ` Richard Henderson
2021-07-05 23:34 ` [PATCH 12/20] Hexagon HVX (target/hexagon) helper functions Taylor Simpson
2021-07-25 13:22 ` Richard Henderson
2021-07-26 4:02 ` Taylor Simpson
2021-07-05 23:34 ` [PATCH 13/20] Hexagon HVX (target/hexagon) TCG generation Taylor Simpson
2021-07-05 23:34 ` [PATCH 14/20] Hexagon HVX (target/hexagon) import semantics Taylor Simpson
2021-07-05 23:34 ` [PATCH 15/20] Hexagon HVX (target/hexagon) instruction decoding Taylor Simpson
2021-07-05 23:34 ` [PATCH 16/20] Hexagon HVX (target/hexagon) import instruction encodings Taylor Simpson
2021-07-05 23:34 ` [PATCH 17/20] Hexagon HVX (tests/tcg/hexagon) vector_add_int test Taylor Simpson
2021-07-05 23:34 ` [PATCH 18/20] Hexagon HVX (tests/tcg/hexagon) hvx_misc test Taylor Simpson
2021-07-05 23:34 ` [PATCH 19/20] Hexagon HVX (tests/tcg/hexagon) scatter_gather test Taylor Simpson
2021-07-05 23:34 ` [PATCH 20/20] Hexagon HVX (tests/tcg/hexagon) histogram test Taylor Simpson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1625528074-19440-1-git-send-email-tsimpson@quicinc.com \
--to=tsimpson@quicinc.com \
--cc=ale@rev.ng \
--cc=bcain@quicinc.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).