diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bf463904a3fef9ceff0fac48d211c9795d9b417a..5958166e6c59c1485bf2b246bb9549441e8f3b6b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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.
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 09669159c770046b8a281ceb1be609251fcde337..21287c9e298100188ecdfa22ed322065c56178e1 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -2105,10 +2105,10 @@
 	(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"
@@ -2124,10 +2124,10 @@
 	(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"