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