From 386367fa4827ceac357595e178d56f55ed27e898 Mon Sep 17 00:00:00 2001 From: bonzini Date: Tue, 23 Aug 2005 17:39:59 +0000 Subject: 2005-08-23 Paolo Bonzini * config/rs6000/predicates.md (equality_operator): New. * config/rs6000/rs6000.md: Rewrite as a peephole2 the split for comparison with a large constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103405 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/rs6000/predicates.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/config/rs6000/predicates.md') diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 122ec45e856..3b5ef34a41b 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -710,6 +710,10 @@ (define_predicate "boolean_or_operator" (match_code "ior,xor")) +;; Return true if operand is an equality operator. +(define_special_predicate "equality_operator" + (match_code "eq,ne")) + ;; Return true if operand is MIN or MAX operator. (define_predicate "min_max_operator" (match_code "smin,smax,umin,umax")) -- cgit v1.2.1