re PR rtl-optimization/50489 ([UPC/IA64] mis-schedule of MEM ref with -ftree-vectoriz...
commit5592815a885e6101054be5b7fbac7a223b698815
authorOleg Endo <olegendo@gcc.gnu.org>
Mon, 20 Aug 2012 20:54:20 +0000 (20 20:54 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Mon, 20 Aug 2012 20:54:20 +0000 (20 20:54 +0000)
tree1735ecce6bebefc95e794764b6a81b5216e2b0ac
parent6774855070fac75d8ea3b4814a3c4a81d23d1811
re PR rtl-optimization/50489 ([UPC/IA64] mis-schedule of MEM ref with -ftree-vectorize and -fschedule-insns2)

PR target/50489
* config/sh/sh.md (rotcr, *rotcr, shar, shlr): New insns and splits.
(ashrdi3_k, lshrdi3_k): Rewrite as insn_and_split.
* config/sh/sh.c (sh_lshrsi_clobbers_t_reg_p): New function.
* config/sh/sh-protos.h (sh_lshrsi_clobbers_t_reg_p): Declare it.

PR target/50489
* gcc.target/sh/pr54089-1.c: New.

From-SVN: r190545
gcc/ChangeLog
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/pr54089-1.c [new file with mode: 0644]