OSDN Git Service

Hexagon (target/hexagon) Add overrides for disabled idef-parser insns
authorTaylor Simpson <tsimpson@quicinc.com>
Thu, 27 Apr 2023 23:00:06 +0000 (16:00 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Thu, 18 May 2023 19:40:52 +0000 (12:40 -0700)
commit00e64fda061ba65668a19dd1ea79e2a2f72090da
tree6ce8f908d157a778f126bc23d661192716edf322
parentd05d5eebc77f607f96e582527e43908a274b2abf
Hexagon (target/hexagon) Add overrides for disabled idef-parser insns

The following have overrides
    S2_insert
    S2_insert_rp
    S2_asr_r_svw_trun
    A2_swiz

These instructions have semantics that write to the destination
before all the operand reads have been completed.  Therefore,
the idef-parser versions were disabled with the short-circuit patch.

Test cases added to tests/tcg/hexagon/read_write_overlap.c

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230427230012.3800327-16-tsimpson@quicinc.com>
target/hexagon/gen_tcg.h
target/hexagon/genptr.c
tests/tcg/hexagon/Makefile.target
tests/tcg/hexagon/read_write_overlap.c [new file with mode: 0644]