predicates (post_inc_mem, [...]): New predicates.
commitda5b1ec120cd4f8e68ff9f83f52a93f3a15bfb74
authorOleg Endo <olegendo@gcc.gnu.org>
Wed, 4 May 2016 07:14:11 +0000 (4 07:14 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Wed, 4 May 2016 07:14:11 +0000 (4 07:14 +0000)
treeb83fc185cc0166a1c0a9e4730902267830baed4e
parente07ab2feaf8f83bfab64ef0746b4fb8ee65033d3
predicates (post_inc_mem, [...]): New predicates.

gcc/
* config/sh/predicates (post_inc_mem, pre_dec_mem): New predicates.
* config/sh/sh-protos.h (sh_find_set_of_reg): Return null result if
result.set_rtx is null instead of aborting.
* config/sh/sh.h (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT):
Always enable.
(USE_LOAD_PRE_DECREMENT, USE_STORE_POST_INCREMENT): Enable for SH2A.
* config/sh/sh.md (*extend<mode>si2_predec, *mov<mode>_load_predec,
*mov<mode>_store_postinc): New patterns.

From-SVN: r235859
gcc/ChangeLog
gcc/config/sh/predicates.md
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.h
gcc/config/sh/sh.md