OSDN Git Service

* config/i386/sse.md (reduc_splus_v4sf): Rename from reduc_plus_v4sf.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Sep 2005 19:22:10 +0000 (19:22 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Sep 2005 19:22:10 +0000 (19:22 +0000)
        (reduc_splus_v2df): New.

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

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

index 9bd66bb..ed36fd4 100644 (file)
@@ -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.
index 3709256..6535d68 100644 (file)
   [(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"
   [(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