aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2005-06-07 22:17:31 +0000
committerEric Christopher <echristo@gcc.gnu.org>2005-06-07 22:17:31 +0000
commite0073ed785c5d44b600b5e26bef3dbaec551d21f (patch)
tree85210fdd366ea8d318e9bd10e954979af623d538 /gcc
parent145357a492e6ebd91f4c11f27f5682be8000ebec (diff)
downloadgcc-e0073ed785c5d44b600b5e26bef3dbaec551d21f.zip
gcc-e0073ed785c5d44b600b5e26bef3dbaec551d21f.tar.gz
gcc-e0073ed785c5d44b600b5e26bef3dbaec551d21f.tar.bz2
predicates.md: Revert previous patch.
2005-06-07 Eric Christopher <echristo@redhat.com> * config/mips/predicates.md: Revert previous patch. From-SVN: r100726
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/predicates.md6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 56573ec..2eaefac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-07 Eric Christopher <echristo@redhat.com>
+
+ * config/mips/predicates.md: Revert previous patch.
+
2005-06-07 Jakub Jelinek <jakub@redhat.com>
PR middle-end/21850
diff --git a/gcc/config/mips/predicates.md b/gcc/config/mips/predicates.md
index a64b335..d486cfc 100644
--- a/gcc/config/mips/predicates.md
+++ b/gcc/config/mips/predicates.md
@@ -7,7 +7,7 @@
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
-;;
+;;
;; GCC is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -39,8 +39,8 @@
(match_test "SMALL_OPERAND (INTVAL (op) + 1)")))
(define_predicate "sleu_operand"
- (and (match_code "const_int")
- (match_test "IN_RANGE ((INTVAL (op) + 1), 0, 32767)")))
+ (and (match_operand 0 "sle_operand")
+ (match_test "INTVAL (op) + 1 != 0")))
(define_predicate "const_0_operand"
(and (match_code "const_int,const_double,const_vector")