Hexagon (target/hexagon) Add overrides for dealloc-return instructions
authorTaylor Simpson <tsimpson@quicinc.com>
Tue, 7 Mar 2023 02:58:18 +0000 (18:58 -0800)
committerTaylor Simpson <tsimpson@quicinc.com>
Tue, 7 Mar 2023 04:47:12 +0000 (20:47 -0800)
commitdae386b80f27115fba6fd4f4ee215de8c6820e3b
tree5064dab3755383af708fd620cc3c56702e1b3a74
parentb8552a78a2e419b6680ade33fcf172f453b3d67b
Hexagon (target/hexagon) Add overrides for dealloc-return instructions

These instructions perform a deallocframe+return (jumpr r31)

Add overrides for
    L4_return
    SL2_return
    L4_return_t
    L4_return_f
    L4_return_tnew_pt
    L4_return_fnew_pt
    L4_return_tnew_pnt
    L4_return_fnew_pnt
    SL2_return_t
    SL2_return_f
    SL2_return_tnew
    SL2_return_fnew

This patch eliminates the last helper that uses write_new_pc, so we
remove it from op_helper.c

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230307025828.1612809-5-tsimpson@quicinc.com>
target/hexagon/gen_tcg.h
target/hexagon/genptr.c
target/hexagon/op_helper.c