]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.md (*fop_df_comm_mixed): Match DF operands instead of SF operands.
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 29 Aug 2006 18:47:20 +0000 (18:47 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 29 Aug 2006 18:47:20 +0000 (11:47 -0700)
2006-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.md (*fop_df_comm_mixed): Match DF operands
instead of SF operands.
(*fop_df_comm_sse): Likewise.
(*fop_df_comm_i387): Likewise.
(*fop_df_1_mixed): Likewise.
(*fop_df_1_sse): Likewise.

From-SVN: r116569

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

index faf7f8b008404d202a591d11a81531dff5d61d70..f296e86fd093704c990f6cb639ac66dc68f8cfb7 100644 (file)
@@ -1,3 +1,12 @@
+2006-08-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.md (*fop_df_comm_mixed): Match DF operands
+       instead of SF operands.
+       (*fop_df_comm_sse): Likewise.
+       (*fop_df_comm_i387): Likewise.
+       (*fop_df_1_mixed): Likewise.
+       (*fop_df_1_sse): Likewise.
+
 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
            J"orn Rennecke  <joern.rennecke@st.com>
 
index a608b7416c777ef837e825fb34535f5a83c0f8a8..09c39a04bdc6d3845bf4dbe08079a592c2bb8253 100644 (file)
   "* return output_387_binary_op (insn, operands);"
   [(set (attr "type") 
        (if_then_else (eq_attr "alternative" "1")
-          (if_then_else (match_operand:SF 3 "mult_operator" "") 
+          (if_then_else (match_operand:DF 3 "mult_operator" "") 
              (const_string "ssemul")
              (const_string "sseadd"))
-          (if_then_else (match_operand:SF 3 "mult_operator" "") 
+          (if_then_else (match_operand:DF 3 "mult_operator" "") 
              (const_string "fmul")
              (const_string "fop"))))
    (set_attr "mode" "DF")])
    && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)"
   "* return output_387_binary_op (insn, operands);"
   [(set (attr "type") 
-        (if_then_else (match_operand:SF 3 "mult_operator" "") 
+        (if_then_else (match_operand:DF 3 "mult_operator" "") 
           (const_string "ssemul")
           (const_string "sseadd")))
    (set_attr "mode" "DF")])
    && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)"
   "* return output_387_binary_op (insn, operands);"
   [(set (attr "type") 
-       (if_then_else (match_operand:SF 3 "mult_operator" "") 
+       (if_then_else (match_operand:DF 3 "mult_operator" "") 
           (const_string "fmul")
           (const_string "fop")))
    (set_attr "mode" "DF")])
   "* return output_387_binary_op (insn, operands);"
   [(set (attr "type") 
         (cond [(and (eq_attr "alternative" "2")
-                   (match_operand:SF 3 "mult_operator" ""))
+                   (match_operand:DF 3 "mult_operator" ""))
                  (const_string "ssemul")
               (and (eq_attr "alternative" "2")
-                   (match_operand:SF 3 "div_operator" ""))
+                   (match_operand:DF 3 "div_operator" ""))
                  (const_string "ssediv")
               (eq_attr "alternative" "2")
                  (const_string "sseadd")
   "* return output_387_binary_op (insn, operands);"
   [(set_attr "mode" "DF")
    (set (attr "type") 
-        (cond [(match_operand:SF 3 "mult_operator" "")
+        (cond [(match_operand:DF 3 "mult_operator" "")
                  (const_string "ssemul")
-              (match_operand:SF 3 "div_operator" "")
+              (match_operand:DF 3 "div_operator" "")
                  (const_string "ssediv")
               ]
               (const_string "sseadd")))])