PR target/50814.
commit17ae7d8dcc6e7e6285902d593a89228d435106b0
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Dec 2011 23:01:58 +0000 (1 23:01 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Dec 2011 23:01:58 +0000 (1 23:01 +0000)
treef5f622789151e37f5432e3c298982ac49ba40635
parentf5c1c27a70f28c8875d8be273417d88217cc99b0
PR target/50814.
* config/sh/sh.c (expand_ashiftrt): Handle TARGET_SH2A same as
TARGET_SH3.
(shl_sext_kind): Likewise.
* config/sh/sh.h (SH_DYNAMIC_SHIFT_COST): Likewise.
* config/sh/sh.md (ashlsi3_sh2a, ashrsi3_sh2a, lshrsi3_sh2a):
Remove.
(ashlsi3_std): Handle TARGET_SH2A same as TARGET_SH3.
(ashlsi3): Likewise.
(ashrsi3_d): Likewise.
(lshrsi3_d): Likewise.
(lshrsi3): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181896 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.md