Hello!
2011-07-28 Uros Bizjak <[email protected]>
* config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX.
Tested on x86_64-pc-linux-gnu, committed to mainline.
Uros.
Index: i386.md
===================================================================
--- i386.md (revision 176858)
+++ i386.md (working copy)
@@ -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)]