OSDN Git Service

Remove use of reg_mentioned_p.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Nov 2009 03:43:03 +0000 (03:43 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Nov 2009 03:43:03 +0000 (03:43 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154399 138bc75d-0d04-0410-961f-82ee72b054a4

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

index b93f35b..9310c45 100644 (file)
@@ -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.
index 9a87cb1..7144799 100644 (file)
         (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)
                         (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)
         (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)
                         (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)