diff options
| author | Uros Bizjak <ubizjak@gmail.com> | 2011-07-28 09:18:49 +0200 |
|---|---|---|
| committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-07-28 09:18:49 +0200 |
| commit | d8fa1b739feb67b0b93f93d37b0384b403e74662 (patch) | |
| tree | 3abf2275ded8158e92086dd35ca4aed1c8f687e1 | |
| parent | 542550cf6c183ffba4f5cbb5f82c851b4b1aca8c (diff) | |
| download | gcc-d8fa1b739feb67b0b93f93d37b0384b403e74662.zip gcc-d8fa1b739feb67b0b93f93d37b0384b403e74662.tar.gz gcc-d8fa1b739feb67b0b93f93d37b0384b403e74662.tar.bz2 | |
i386.c (add->lea splitter): Add SWI mode to PLUS RTX.
* config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX.
From-SVN: r176860
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/i386/i386.md | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b07d494..2245872 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-07-28 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX. + 2011-07-27 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/49471 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index e91a299..a4435c2 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -5806,8 +5806,8 @@ ;; Convert add to the lea pattern to avoid flags dependency. (define_split [(set (match_operand:SWI 0 "register_operand" "") - (plus (match_operand:SWI 1 "register_operand" "") - (match_operand:SWI 2 "<nonmemory_operand>" ""))) + (plus:SWI (match_operand:SWI 1 "register_operand" "") + (match_operand:SWI 2 "<nonmemory_operand>" ""))) (clobber (reg:CC FLAGS_REG))] "reload_completed && ix86_lea_for_add_ok (insn, operands)" [(const_int 0)] |
