This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix some i386.md warnings


Just something I finally bothered to look at.


r~


        * config/i386/i386.md: Fix missing modes on cmove splitters.

Index: i386.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
retrieving revision 1.575
diff -u -p -r1.575 i386.md
--- i386.md	15 Dec 2004 06:54:53 -0000	1.575
+++ i386.md	15 Dec 2004 07:58:11 -0000
@@ -18225,11 +18225,11 @@
 ;; or	 op2, op0   -  get the nonzero one into the result.
 (define_split
   [(set (match_operand:SF 0 "register_operand" "")
-	(if_then_else (match_operator:SF 1 "sse_comparison_operator"
-			[(match_operand:SF 4 "register_operand" "")
-			 (match_operand:SF 5 "nonimmediate_operand" "")])
-		      (match_operand:SF 2 "register_operand" "")
-		      (match_operand:SF 3 "register_operand" "")))
+	(if_then_else:SF (match_operator:SF 1 "sse_comparison_operator"
+			   [(match_operand:SF 4 "register_operand" "")
+			    (match_operand:SF 5 "nonimmediate_operand" "")])
+		         (match_operand:SF 2 "register_operand" "")
+		         (match_operand:SF 3 "register_operand" "")))
    (clobber (match_operand 6 "" ""))
    (clobber (reg:CC FLAGS_REG))]
   "SSE_REG_P (operands[0]) && reload_completed"
@@ -18263,11 +18263,11 @@
 
 (define_split
   [(set (match_operand:DF 0 "register_operand" "")
-	(if_then_else (match_operator:DF 1 "sse_comparison_operator"
-			[(match_operand:DF 4 "register_operand" "")
-			 (match_operand:DF 5 "nonimmediate_operand" "")])
-		      (match_operand:DF 2 "register_operand" "")
-		      (match_operand:DF 3 "register_operand" "")))
+	(if_then_else:DF (match_operator:DF 1 "sse_comparison_operator"
+			   [(match_operand:DF 4 "register_operand" "")
+			    (match_operand:DF 5 "nonimmediate_operand" "")])
+		         (match_operand:DF 2 "register_operand" "")
+		         (match_operand:DF 3 "register_operand" "")))
    (clobber (match_operand 6 "" ""))
    (clobber (reg:CC FLAGS_REG))]
   "SSE_REG_P (operands[0]) && reload_completed"
@@ -18393,11 +18393,11 @@
 
 (define_split
   [(set (match_operand:SF 0 "register_operand" "")
-	(if_then_else (match_operator 1 "comparison_operator"
-			[(match_operand:SF 4 "nonimmediate_operand" "")
-			 (match_operand:SF 5 "nonimmediate_operand" "")])
-		      (match_operand:SF 2 "nonmemory_operand" "")
-		      (match_operand:SF 3 "nonmemory_operand" "")))]
+	(if_then_else:SF (match_operator 1 "comparison_operator"
+			   [(match_operand:SF 4 "nonimmediate_operand" "")
+			    (match_operand:SF 5 "nonimmediate_operand" "")])
+		         (match_operand:SF 2 "nonmemory_operand" "")
+		         (match_operand:SF 3 "nonmemory_operand" "")))]
   "SSE_REG_P (operands[0]) && reload_completed
    && (const0_operand (operands[2], GET_MODE (operands[0]))
        || const0_operand (operands[3], GET_MODE (operands[0])))"
@@ -18431,11 +18431,11 @@
 
 (define_split
   [(set (match_operand:DF 0 "register_operand" "")
-	(if_then_else (match_operator 1 "comparison_operator"
-			[(match_operand:DF 4 "nonimmediate_operand" "")
-			 (match_operand:DF 5 "nonimmediate_operand" "")])
-		      (match_operand:DF 2 "nonmemory_operand" "")
-		      (match_operand:DF 3 "nonmemory_operand" "")))]
+	(if_then_else:DF (match_operator 1 "comparison_operator"
+			   [(match_operand:DF 4 "nonimmediate_operand" "")
+			    (match_operand:DF 5 "nonimmediate_operand" "")])
+		         (match_operand:DF 2 "nonmemory_operand" "")
+		         (match_operand:DF 3 "nonmemory_operand" "")))]
   "SSE_REG_P (operands[0]) && reload_completed
    && (const0_operand (operands[2], GET_MODE (operands[0]))
        || const0_operand (operands[3], GET_MODE (operands[0])))"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]