OSDN Git Service

2006-08-29 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2006 18:47:20 +0000 (18:47 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2006 18:47:20 +0000 (18:47 +0000)
* 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.

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

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

index faf7f8b..f296e86 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 a608b74..09c39a0 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")))])