diff options
author | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-02 13:05:10 +0000 |
---|---|---|
committer | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-02 13:05:10 +0000 |
commit | 4e38645fed4ade6c9a5bec0d9ac42748c98071e7 (patch) | |
tree | 66efae83452bea1dd4426108860b81421e8b002e /gcc | |
parent | 628277461faf5027a8ffb2859d9617d6579dac45 (diff) | |
download | gcc-4e38645fed4ade6c9a5bec0d9ac42748c98071e7.tar.gz |
* config/sh/sh.md (*extend<mode>si2_compact_mem_disp): Pass iterated
mode to sh_legitimate_index_p instead of QImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 19c3645e8a9..8ebf53e6696 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-02 Oleg Endo <olegendo@gcc.gnu.org> + + * config/sh/sh.md (*extend<mode>si2_compact_mem_disp): Pass iterated + mode to sh_legitimate_index_p instead of QImode. + 2012-09-02 Eric Botcazou <ebotcazou@adacore.com> PR rtl-optimization/54369 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 70d6d7b2475..f1b5df72b3f 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -5576,7 +5576,7 @@ label: (plus:SI (match_operand:SI 1 "arith_reg_operand" "%r,r,r") (match_operand:SI 2 "const_int_operand" "<disp04>,N,<disp12>")))))] - "TARGET_SH2A && sh_legitimate_index_p (QImode, operands[2], true, true)" + "TARGET_SH2A && sh_legitimate_index_p (<MODE>mode, operands[2], true, true)" "@ mov.<bw> @(%O2,%1),%0 mov.<bw> @%1,%0 |