This patch series is a significant update for the Hexagon target The first 9 patches address feedback from Richard Henderson <richard.hender...@linaro.org> The next 6 patches add the remaining instructions for the Hexagon scalar core
The patches are logically independent but are organized as a series to avoid potential confilcts if they are merged out of order. Taylor Simpson (15): Hexagon (target/hexagon) TCG generation cleanup Hexagon (target/hexagon) remove unnecessary inline directives Hexagon (target/hexagon) properly generate TB end for DISAS_NORETURN Hexagon (target/hexagon) decide if pred has been written at TCG gen time Hexagon (target/hexagon) change variables from int to bool when appropriate Hexagon (target/hexagon) utility function changes Hexagon (target/hexagon) use softfloat default NaN and tininess Hexagon (target/hexagon) replace float32_mul_pow2 with float32_scalbn Hexagon (target/hexagon) use softfloat for float-to-int conversions Hexagon (target/hexagon) instructions with multiple definitions Hexagon (target/hexagon) circular addressing Hexagon (target/hexagon) bit reverse (brev) addressing Hexagon (target/hexagon) load and unpack bytes instructions Hexagon (target/hexagon) load into shifted register instructions Hexagon (target/hexagon) CABAC decode bin fpu/softfloat-specialize.c.inc | 5 + linux-user/hexagon/cpu_loop.c | 2 +- target/hexagon/arch.c | 191 +++++++++++--- target/hexagon/arch.h | 7 +- target/hexagon/conv_emu.c | 177 ------------- target/hexagon/conv_emu.h | 31 --- target/hexagon/cpu.c | 14 +- target/hexagon/cpu.h | 6 +- target/hexagon/cpu_bits.h | 2 +- target/hexagon/decode.c | 80 +++--- target/hexagon/fma_emu.c | 40 +-- target/hexagon/gen_tcg.h | 458 ++++++++++++++++++++++++++++++++ target/hexagon/gen_tcg_funcs.py | 2 +- target/hexagon/genptr.c | 243 ++++++++++++++++- target/hexagon/helper.h | 22 +- target/hexagon/imported/alu.idef | 44 ++++ target/hexagon/imported/encode_pp.def | 30 +++ target/hexagon/imported/float.idef | 32 +++ target/hexagon/imported/ldst.idef | 68 +++++ target/hexagon/imported/macros.def | 47 ++++ target/hexagon/imported/shift.idef | 47 ++++ target/hexagon/insn.h | 21 +- target/hexagon/macros.h | 174 ++++++++++++- target/hexagon/meson.build | 1 - target/hexagon/op_helper.c | 373 ++++++++++++++++++-------- target/hexagon/translate.c | 79 +++--- target/hexagon/translate.h | 7 +- tests/tcg/hexagon/Makefile.target | 5 + tests/tcg/hexagon/brev.c | 185 +++++++++++++ tests/tcg/hexagon/circ.c | 393 ++++++++++++++++++++++++++++ tests/tcg/hexagon/fpstuff.c | 242 +++++++++++++++++ tests/tcg/hexagon/load_align.c | 415 +++++++++++++++++++++++++++++ tests/tcg/hexagon/load_unpack.c | 474 ++++++++++++++++++++++++++++++++++ tests/tcg/hexagon/misc.c | 47 ++++ tests/tcg/hexagon/multi_result.c | 249 ++++++++++++++++++ 35 files changed, 3726 insertions(+), 487 deletions(-) delete mode 100644 target/hexagon/conv_emu.c delete mode 100644 target/hexagon/conv_emu.h create mode 100644 tests/tcg/hexagon/brev.c create mode 100644 tests/tcg/hexagon/circ.c create mode 100644 tests/tcg/hexagon/load_align.c create mode 100644 tests/tcg/hexagon/load_unpack.c create mode 100644 tests/tcg/hexagon/multi_result.c -- 2.7.4