[SH][committed] FIx PR 63986
Oleg Endo
oleg.endo@t-online.de
Sat Nov 22 16:46:00 GMT 2014
Hi,
The attached patch fixes PR 63986.
Tested with
make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m4/-ml,-m4/-mb}"
and no new failures. Committed as r217968.
Cheers,
Oleg
gcc/ChangeLog:
PR target/63986
PR target/51244
* config/sh/sh.c (sh_is_logical_t_store_expr,
sh_try_omit_signzero_extend): Use rtx_insn* for insn argument.
(sh_split_movrt_negc_to_movt_xor): New function.
(sh_find_set_of_reg): Move to ...
* config/sh/sh-protos.h (sh_find_set_of_reg): ... here and convert
to template function.
(set_of_reg): Use rtx_insn* for insn member.
(sh_is_logical_t_store_expr, sh_try_omit_signzero_extend): Use
rtx_insn* for insn argument.
* config/sh/sh.md (movrt_negc, *movrt_negc): Split into movt-xor
sequence using new sh_split_movrt_negc_to_movt_xor function.
(movrt_xor): Allow also for SH2A.
(*movt_movrt): Delete insns and splits.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh_pr63986.patch
Type: text/x-patch
Size: 8907 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141122/e21fa0d3/attachment.bin>
More information about the Gcc-patches
mailing list