[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/9] Hexagon: COF overrides, new generator, test update
From: |
Taylor Simpson |
Subject: |
[PATCH v3 0/9] Hexagon: COF overrides, new generator, test update |
Date: |
Thu, 5 Jan 2023 14:13:22 -0800 |
The idef-parser skips the change-of-flow (COF) instructions, so add
overrides
**** Changes in v2 ****
Add a new generator for analyze_<tag> instructions. Pouplate the
DisasContext ahead of generating code.
**** Changes in v3 ****
Cleanup of analysis code
Added test updates enabled by new toolchain container
Taylor Simpson (9):
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) 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
target/hexagon/gen_tcg.h | 79 ++-
target/hexagon/macros.h | 12 +-
target/hexagon/translate.h | 60 ++-
target/hexagon/genptr.c | 200 +++++++-
target/hexagon/idef-parser/parser-helpers.c | 7 +-
target/hexagon/op_helper.c | 26 +-
target/hexagon/translate.c | 187 ++++---
tests/tcg/hexagon/preg_alias.c | 10 +-
tests/tcg/hexagon/scatter_gather.c | 513 +++++++++++---------
target/hexagon/README | 11 +-
target/hexagon/gen_analyze_func_table.py | 52 ++
target/hexagon/gen_analyze_funcs.py | 250 ++++++++++
target/hexagon/gen_tcg_funcs.py | 41 +-
target/hexagon/meson.build | 20 +-
tests/tcg/hexagon/Makefile.target | 13 +-
15 files changed, 1053 insertions(+), 428 deletions(-)
create mode 100755 target/hexagon/gen_analyze_func_table.py
create mode 100755 target/hexagon/gen_analyze_funcs.py
--
2.17.1
- [PATCH v3 0/9] Hexagon: COF overrides, new generator, test update,
Taylor Simpson <=
- [PATCH v3 1/9] Hexagon (target/hexagon) Add overrides for jumpr31 instructions, Taylor Simpson, 2023/01/05
- [PATCH v3 3/9] Hexagon (target/hexagon) Add overrides for endloop1/endloop01, Taylor Simpson, 2023/01/05
- [PATCH v3 8/9] Hexagon (tests/tcg/hexagon) Remove __builtin from scatter_gather, Taylor Simpson, 2023/01/05
- [PATCH v3 2/9] Hexagon (target/hexagon) Add overrides for callr, Taylor Simpson, 2023/01/05
- [PATCH v3 4/9] Hexagon (target/hexagon) Add overrides for dealloc-return instructions, Taylor Simpson, 2023/01/05
- [PATCH v3 9/9] Hexagon (tests/tcg/hexagon) Enable HVX tests, Taylor Simpson, 2023/01/05
- [PATCH v3 5/9] Hexagon (target/hexagon) Analyze packet before generating TCG, Taylor Simpson, 2023/01/05
- [PATCH v3 7/9] Hexagon (tests/tcg/hexagon) Update preg_alias.c, Taylor Simpson, 2023/01/05
- [PATCH v3 6/9] Hexagon (target/hexagon) Analyze packet for HVX, Taylor Simpson, 2023/01/05