aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2010-07-31 11:33:19 +0200
committerUros Bizjak <uros@gcc.gnu.org>2010-07-31 11:33:19 +0200
commit8aadc2f3e5d25589294430a7eb66edabcbced1ce (patch)
tree93781145625077baa4d8d50bb508a499ff398a81
parentcf6521b4f6d56d555bbec6d2604fa859cdc042db (diff)
downloadgcc-8aadc2f3e5d25589294430a7eb66edabcbced1ce.zip
gcc-8aadc2f3e5d25589294430a7eb66edabcbced1ce.tar.gz
gcc-8aadc2f3e5d25589294430a7eb66edabcbced1ce.tar.bz2
i386.md (mov<SWIM:mode>cc and corresponding splitter): Use ordered_comparison_operator predicate for operator1.
* config/i386/i386.md (mov<SWIM:mode>cc and corresponding splitter): Use ordered_comparison_operator predicate for operator1. (add<mode>cc): ditto. From-SVN: r162775
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b417d4b..73aa025 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 265295a..510a6c5 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -16340,7 +16340,7 @@
;; 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" "")]
""
@@ -16655,7 +16655,7 @@
(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" "")))]