diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b93f35b103f4931db618fa2cc5c78eb40185a233..9310c455addd3d374f92b8d31f376a05f63df395 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-20  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* config/i386/sse.md (*xop_pmacsdql_mem): Don't call reg_mentioned_p.
+	(xop_mulv2div2di3_low): Same.
+	(*xop_pmacsdqh_mem): Same.
+
 2009-11-20  Richard Henderson  <rth@redhat.com>
 
 	* config/i386/i386-builtin-types.awk: New file.
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 9a87cb1f4f944fe502389104057cc5e0b1b81a1c..71447993c2d7907f5531dc0c8274ab052e426528 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -10647,9 +10647,7 @@
 	 (match_operand:V2DI 3 "memory_operand" "m,m")))]
   "TARGET_XOP && ix86_fma4_valid_op_p (operands, insn, 4, false, -1, true)"
   "#"
-  "&& (reload_completed
-       || (!reg_mentioned_p (operands[0], operands[1])
-	   && !reg_mentioned_p (operands[0], operands[2])))"
+  "&& reload_completed"
   [(set (match_dup 0)
 	(match_dup 3))
    (set (match_dup 0)
@@ -10686,9 +10684,7 @@
 			 (const_int 3)])))))]
   "TARGET_XOP"
   "#"
-  "&& (reload_completed
-       || (!reg_mentioned_p (operands[0], operands[1])
-	   && !reg_mentioned_p (operands[0], operands[2])))"
+  "&& reload_completed"
   [(set (match_dup 0)
 	(match_dup 3))
    (set (match_dup 0)
@@ -10750,9 +10746,7 @@
 	 (match_operand:V2DI 3 "memory_operand" "m,m")))]
   "TARGET_XOP && ix86_fma4_valid_op_p (operands, insn, 4, false, -1, true)"
   "#"
-  "&& (reload_completed
-       || (!reg_mentioned_p (operands[0], operands[1])
-	   && !reg_mentioned_p (operands[0], operands[2])))"
+  "&& reload_completed"
   [(set (match_dup 0)
 	(match_dup 3))
    (set (match_dup 0)
@@ -10789,9 +10783,7 @@
 			 (const_int 2)])))))]
   "TARGET_XOP"
   "#"
-  "&& (reload_completed
-       || (!reg_mentioned_p (operands[0], operands[1])
-	   && !reg_mentioned_p (operands[0], operands[2])))"
+  "&& reload_completed"
   [(set (match_dup 0)
 	(match_dup 3))
    (set (match_dup 0)