diff mbox

[alpha] : Fix bootstrap failure due to expand optab cleanup

Message ID AANLkTikU_53h+86SfMHX8mFoVhy+RuBDdRLT6EkMhjVN@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak March 28, 2011, 7:21 a.m. UTC
Hello!

2011-03-28  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/alpha.md (addtf3): Change mode of operands to TFmode.
	(divtf3): Ditto.
	(multf3): Ditto.
	(subtf3): Ditto.

Bootstrapped and regression tested on alphaev68-pc-linux-gnu,
committed to mainline SVN.

Uros.
diff mbox

Patch

Index: alpha.md
===================================================================
--- alpha.md	(revision 171579)
+++ alpha.md	(working copy)
@@ -2018,9 +2018,9 @@ 
    (set_attr "trap_suffix" "u_su_sui")])
 
 (define_expand "addtf3"
-  [(use (match_operand 0 "register_operand" ""))
-   (use (match_operand 1 "general_operand" ""))
-   (use (match_operand 2 "general_operand" ""))]
+  [(use (match_operand:TF 0 "register_operand" ""))
+   (use (match_operand:TF 1 "general_operand" ""))
+   (use (match_operand:TF 2 "general_operand" ""))]
   "TARGET_HAS_XFLOATING_LIBS"
   "alpha_emit_xfloating_arith (PLUS, operands); DONE;")
 
@@ -2510,9 +2510,9 @@ 
    (set_attr "trap_suffix" "u_su_sui")])
 
 (define_expand "divtf3"
-  [(use (match_operand 0 "register_operand" ""))
-   (use (match_operand 1 "general_operand" ""))
-   (use (match_operand 2 "general_operand" ""))]
+  [(use (match_operand:TF 0 "register_operand" ""))
+   (use (match_operand:TF 1 "general_operand" ""))
+   (use (match_operand:TF 2 "general_operand" ""))]
   "TARGET_HAS_XFLOATING_LIBS"
   "alpha_emit_xfloating_arith (DIV, operands); DONE;")
 
@@ -2586,9 +2586,9 @@ 
    (set_attr "trap_suffix" "u_su_sui")])
 
 (define_expand "multf3"
-  [(use (match_operand 0 "register_operand" ""))
-   (use (match_operand 1 "general_operand" ""))
-   (use (match_operand 2 "general_operand" ""))]
+  [(use (match_operand:TF 0 "register_operand" ""))
+   (use (match_operand:TF 1 "general_operand" ""))
+   (use (match_operand:TF 2 "general_operand" ""))]
   "TARGET_HAS_XFLOATING_LIBS"
   "alpha_emit_xfloating_arith (MULT, operands); DONE;")
 
@@ -2674,9 +2674,9 @@ 
    (set_attr "trap_suffix" "u_su_sui")])
 
 (define_expand "subtf3"
-  [(use (match_operand 0 "register_operand" ""))
-   (use (match_operand 1 "general_operand" ""))
-   (use (match_operand 2 "general_operand" ""))]
+  [(use (match_operand:TF 0 "register_operand" ""))
+   (use (match_operand:TF 1 "general_operand" ""))
+   (use (match_operand:TF 2 "general_operand" ""))]
   "TARGET_HAS_XFLOATING_LIBS"
   "alpha_emit_xfloating_arith (MINUS, operands); DONE;")