aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-09-19 12:22:10 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-09-19 12:22:10 -0700
commite20524fa8033a377cf177402cbba7a61e3307de1 (patch)
tree4aed93fc02e92945059e7679bcf02982d9439338 /gcc
parent20de58d91e1e7880224c16a19014c9e06a3a8aea (diff)
downloadgcc-e20524fa8033a377cf177402cbba7a61e3307de1.zip
gcc-e20524fa8033a377cf177402cbba7a61e3307de1.tar.gz
gcc-e20524fa8033a377cf177402cbba7a61e3307de1.tar.bz2
sse.md (reduc_splus_v4sf): Rename from reduc_plus_v4sf.
* config/i386/sse.md (reduc_splus_v4sf): Rename from reduc_plus_v4sf. (reduc_splus_v2df): New. From-SVN: r104432
Diffstat (limited to 'gcc')
-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