diff options
-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)] |