aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/sse.md11
2 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9bd66bb..ed36fd4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-19 Richard Henderson <rth@redhat.com>
+
+ * config/i386/sse.md (reduc_splus_v4sf): Rename from reduc_plus_v4sf.
+ (reduc_splus_v2df): New.
+
2005-09-19 Richard Sandiford <richard@codesourcery.com>
* config/arm/aof.h (REGISTER_NAMES): Add missing backslash.
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 3709256..6535d68 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -700,7 +700,7 @@
[(set_attr "type" "sseadd")
(set_attr "mode" "V4SF")])
-(define_expand "reduc_plus_v4sf"
+(define_expand "reduc_splus_v4sf"
[(match_operand:V4SF 0 "register_operand" "")
(match_operand:V4SF 1 "register_operand" "")]
"TARGET_SSE"
@@ -1690,6 +1690,15 @@
[(set_attr "type" "sseadd")
(set_attr "mode" "V2DF")])
+(define_expand "reduc_splus_v2df"
+ [(match_operand:V2DF 0 "register_operand" "")
+ (match_operand:V2DF 1 "register_operand" "")]
+ "TARGET_SSE3"
+{
+ emit_insn (gen_sse3_haddv2df3 (operands[0], operands[1], operands[1]));
+ DONE;
+})
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Parallel double-precision floating point comparisons