OSDN Git Service

* config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2011 07:18:49 +0000 (07:18 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2011 07:18:49 +0000 (07:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176860 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.md

index b07d494..2245872 100644 (file)
@@ -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
index e91a299..a4435c2 100644 (file)
 ;; 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)]