OSDN Git Service

* config/i386/i386.md (mov<SWIM:mode>cc and corresponding splitter):
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Jul 2010 09:33:19 +0000 (09:33 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Jul 2010 09:33:19 +0000 (09:33 +0000)
Use ordered_comparison_operator predicate for operator1.
(add<mode>cc): ditto.

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

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

index b417d4b..73aa025 100644 (file)
@@ -66,7 +66,8 @@
        (cbranch<mode>4): Use ordered_comparison_operator predicate
        for operator0.
        (cstore<mode>4): Ditto for operator1.
-       (mov<SWIM:mode>cc): Ditto.
+       (mov<SWIM:mode>cc and corresponding splitter): Ditto.
+       (add<mode>cc): ditto.
 
 2010-07-30  Richard Guenther  <rguenther@suse.de>
 
index 265295a..510a6c5 100644 (file)
 ;; Conditional addition patterns
 (define_expand "add<mode>cc"
   [(match_operand:SWI 0 "register_operand" "")
-   (match_operand 1 "comparison_operator" "")
+   (match_operand 1 "ordered_comparison_operator" "")
    (match_operand:SWI 2 "register_operand" "")
    (match_operand:SWI 3 "const_int_operand" "")]
   ""
 
 (define_split
   [(set (match_operand 0 "register_operand" "")
-       (if_then_else (match_operator 1 "comparison_operator"
+       (if_then_else (match_operator 1 "ordered_comparison_operator"
                                [(reg FLAGS_REG) (const_int 0)])
                      (match_operand 2 "register_operand" "")
                      (match_operand 3 "register_operand" "")))]