summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-21 03:43:03 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-21 03:43:03 +0000
commit44dd08ba26cdff9d33fca80ae828ad59776c1d96 (patch)
tree0544f337220df21889766019af5da8c9dd1b96ce
parentea8202244d695c7bed3eabf317fc184bb13e1c9f (diff)
downloadgcc-44dd08ba26cdff9d33fca80ae828ad59776c1d96.tar.gz
Remove use of reg_mentioned_p.
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/sse.md16
2 files changed, 10 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b93f35b103f..9310c455add 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 9a87cb1f4f9..71447993c2d 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)