This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cond-optab] svn branch created, looking for reviews for the "cleanup" parts


Ian Lance Taylor wrote:
> Paolo Bonzini <bonzini@gnu.org> writes:
> 
>> r145603: http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00496.html (gen*, RTL)
> 
> This is OK if you document it in doc/md.texi, where comparison_operator
> is documented.

Here is what I committed.

Index: gcc/doc/md.texi
===================================================================
--- gcc/doc/md.texi     (revision 145743)
+++ gcc/doc/md.texi     (working copy)
@@ -860,7 +860,15 @@ valid for @var{mode}.
 @end defun

 @noindent
-Finally, there is one generic operator predicate.
+Finally, there are two generic operator predicates.
+
+@defun ordered_comparison_operator
+This predicate matches any expression which performs an arithmetic
+comparison in @var{mode} and whose expression code is valid for integer
+modes; that is, the expression code will be one of @code{eq},
+@code{ne}, @code{lt}, @code{ltu}, @code{le}, @code{leu}, @code{gt},
+@code{gtu}, @code{ge}, @code{geu}.
+@end defun

 @defun comparison_operator
 This predicate matches any expression which performs an arithmetic

Thanks,

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]