* config/rs6000/rs6000.md (abs<mode>2_isel, nabs<mode>2_isel):
Reverse sense of if_then_else condition.
From-SVN: r162346
+2010-07-20 Nathan Froyd <froydnj@codesourcery.com>
+
+ * config/rs6000/rs6000.md (abs<mode>2_isel, nabs<mode>2_isel):
+ Reverse sense of if_then_else condition.
+
2010-07-20 Nathan Froyd <froydnj@codesourcery.com>
* config/rs6000/rs6000.opt (mblock-move-inline-limit): New option.
(compare:CC (match_dup 1)
(const_int 0)))
(set (match_dup 0)
- (if_then_else:GPR (ge (match_dup 3)
+ (if_then_else:GPR (lt (match_dup 3)
(const_int 0))
- (match_dup 1)
- (match_dup 2)))]
+ (match_dup 2)
+ (match_dup 1)))]
"")
(define_insn_and_split "nabs<mode>2_isel"
(compare:CC (match_dup 1)
(const_int 0)))
(set (match_dup 0)
- (if_then_else:GPR (ge (match_dup 3)
+ (if_then_else:GPR (lt (match_dup 3)
(const_int 0))
- (match_dup 2)
- (match_dup 1)))]
+ (match_dup 1)
+ (match_dup 2)))]
"")
(define_insn_and_split "abssi2_nopower"