]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.md (sse_mov?fcc* splitters): Add mode to IF_THEN_ELSE, remove mode from MATCH_OP...
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 May 2005 21:04:28 +0000 (23:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 May 2005 21:04:28 +0000 (23:04 +0200)
* config/i386/i386.md (sse_mov?fcc* splitters): Add mode to
IF_THEN_ELSE, remove mode from MATCH_OPERATOR.  Fix a typo.

From-SVN: r99542

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

index 7412ba7678502b5aec96ed73c6e53fdadd0e560f..77de6eb79f60cfad3171d63dba70ebd2aa840e02 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.md (sse_mov?fcc* splitters): Add mode to
+       IF_THEN_ELSE, remove mode from MATCH_OPERATOR.  Fix a typo.
+
 2005-05-09  Grigory Tolstolytkin  <gtolstolytkin@ru.mvista.com>
 
        Backport from mainline
index b95f919a25de13ae19532921aa621f626eed26e0..93d9dcdba1501bf0020bd5bfadef872a7bcfa0a9 100644 (file)
 ;; 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 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 17))]
   "SSE_REG_P (operands[0]) && reload_completed"
 
 (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 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 17))]
   "SSE_REG_P (operands[0]) && reload_completed"
 
 (define_split
   [(set (match_operand:SF 0 "register_operand" "")
-       (if_then_else (match_operator:SF 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])))"
   else
     {
       operands[7] = operands[2];
-      operands[6] = operands[0];
+      operands[6] = operands[8];
     }
   operands[7] = simplify_gen_subreg (V4SFmode, operands[7], SFmode, 0);
 })
 
 (define_split
   [(set (match_operand:DF 0 "register_operand" "")
-       (if_then_else (match_operator:DF 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])))"