PR target/50489
commit8cec7a6e24c33ffd8c6ce98d714b5b3eeb6ac5cb
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2012 20:54:20 +0000 (20 20:54 +0000)
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2012 20:54:20 +0000 (20 20:54 +0000)
tree1735ecce6bebefc95e794764b6a81b5216e2b0ac
parentebbd32d2f019d4adf981a4cb17116aa9036cb754
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190545 138bc75d-0d04-0410-961f-82ee72b054a4
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]