[PATCH v2 0/6] Hexagon (target/hexagon) COF overrides and new generator

Taylor Simpson posted 6 patches 2 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221228211324.26989-1-tsimpson@quicinc.com
Maintainers: Taylor Simpson <tsimpson@quicinc.com>, Alessandro Di Federico <ale@rev.ng>, Anton Johansson <anjo@rev.ng>
target/hexagon/gen_tcg.h                    |  77 ++++++
target/hexagon/insn.h                       |   3 +
target/hexagon/macros.h                     |  10 -
target/hexagon/translate.h                  |  51 ++--
target/hexagon/genptr.c                     | 198 +++++++++++++++-
target/hexagon/idef-parser/parser-helpers.c |   5 -
target/hexagon/op_helper.c                  |  24 --
target/hexagon/translate.c                  | 173 +++++++++-----
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             |  39 ---
target/hexagon/meson.build                  |  18 ++
13 files changed, 742 insertions(+), 169 deletions(-)
create mode 100755 target/hexagon/gen_analyze_func_table.py
create mode 100755 target/hexagon/gen_analyze_funcs.py
[PATCH v2 0/6] Hexagon (target/hexagon) COF overrides and new generator
Posted by Taylor Simpson 2 years, 8 months ago
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.

Taylor Simpson (6):
  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 step 2

 target/hexagon/gen_tcg.h                    |  77 ++++++
 target/hexagon/insn.h                       |   3 +
 target/hexagon/macros.h                     |  10 -
 target/hexagon/translate.h                  |  51 ++--
 target/hexagon/genptr.c                     | 198 +++++++++++++++-
 target/hexagon/idef-parser/parser-helpers.c |   5 -
 target/hexagon/op_helper.c                  |  24 --
 target/hexagon/translate.c                  | 173 +++++++++-----
 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             |  39 ---
 target/hexagon/meson.build                  |  18 ++
 13 files changed, 742 insertions(+), 169 deletions(-)
 create mode 100755 target/hexagon/gen_analyze_func_table.py
 create mode 100755 target/hexagon/gen_analyze_funcs.py

-- 
2.17.1