Commit e370818b by H.J. Lu Committed by H.J. Lu

i386.md (*fop_df_comm_mixed): Match DF operands instead of SF operands.

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
parent 227e9f62
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> 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
J"orn Rennecke <joern.rennecke@st.com> J"orn Rennecke <joern.rennecke@st.com>
......
...@@ -14681,10 +14681,10 @@ ...@@ -14681,10 +14681,10 @@
"* return output_387_binary_op (insn, operands);" "* return output_387_binary_op (insn, operands);"
[(set (attr "type") [(set (attr "type")
(if_then_else (eq_attr "alternative" "1") (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 "ssemul")
(const_string "sseadd")) (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 "fmul")
(const_string "fop")))) (const_string "fop"))))
(set_attr "mode" "DF")]) (set_attr "mode" "DF")])
...@@ -14699,7 +14699,7 @@ ...@@ -14699,7 +14699,7 @@
&& (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)" && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)"
"* return output_387_binary_op (insn, operands);" "* return output_387_binary_op (insn, operands);"
[(set (attr "type") [(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 "ssemul")
(const_string "sseadd"))) (const_string "sseadd")))
(set_attr "mode" "DF")]) (set_attr "mode" "DF")])
...@@ -14714,7 +14714,7 @@ ...@@ -14714,7 +14714,7 @@
&& (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)" && (GET_CODE (operands[1]) != MEM || GET_CODE (operands[2]) != MEM)"
"* return output_387_binary_op (insn, operands);" "* return output_387_binary_op (insn, operands);"
[(set (attr "type") [(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 "fmul")
(const_string "fop"))) (const_string "fop")))
(set_attr "mode" "DF")]) (set_attr "mode" "DF")])
...@@ -14730,10 +14730,10 @@ ...@@ -14730,10 +14730,10 @@
"* return output_387_binary_op (insn, operands);" "* return output_387_binary_op (insn, operands);"
[(set (attr "type") [(set (attr "type")
(cond [(and (eq_attr "alternative" "2") (cond [(and (eq_attr "alternative" "2")
(match_operand:SF 3 "mult_operator" "")) (match_operand:DF 3 "mult_operator" ""))
(const_string "ssemul") (const_string "ssemul")
(and (eq_attr "alternative" "2") (and (eq_attr "alternative" "2")
(match_operand:SF 3 "div_operator" "")) (match_operand:DF 3 "div_operator" ""))
(const_string "ssediv") (const_string "ssediv")
(eq_attr "alternative" "2") (eq_attr "alternative" "2")
(const_string "sseadd") (const_string "sseadd")
...@@ -14755,9 +14755,9 @@ ...@@ -14755,9 +14755,9 @@
"* return output_387_binary_op (insn, operands);" "* return output_387_binary_op (insn, operands);"
[(set_attr "mode" "DF") [(set_attr "mode" "DF")
(set (attr "type") (set (attr "type")
(cond [(match_operand:SF 3 "mult_operator" "") (cond [(match_operand:DF 3 "mult_operator" "")
(const_string "ssemul") (const_string "ssemul")
(match_operand:SF 3 "div_operator" "") (match_operand:DF 3 "div_operator" "")
(const_string "ssediv") (const_string "ssediv")
] ]
(const_string "sseadd")))]) (const_string "sseadd")))])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment