This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: numerical value of comparison results
- To: rth at redhat dot com (Richard Henderson)
- Subject: Re: numerical value of comparison results
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Sun, 21 Jan 2001 08:04:33 +0000 (GMT)
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
> On Wed, Dec 06, 2000 at 12:30:26AM +0000, Joern Rennecke wrote:
> > Since there are alerady a number of ports with a STORE_FLAG_VALUE other
> > than 1, I suppose that is considered to work, and the documentation
> > should be changed?
>
> Yes.
Here is a patch for the documentation:
Sun Jan 21 07:35:56 2001 J"orn Rennecke <amylaar@redhat.com>
* rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
Index: rtl.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/rtl.texi,v
retrieving revision 1.33
diff -p -r1.33 rtl.texi
*** rtl.texi 2001/01/19 18:28:58 1.33
--- rtl.texi 2001/01/21 07:35:55
*************** point comparisons are distinguished by t
*** 1628,1647 ****
@findex eq
@cindex equal
@item (eq:@var{m} @var{x} @var{y})
! 1 if the values represented by @var{x} and @var{y} are equal,
! otherwise 0.
@findex ne
@cindex not equal
@item (ne:@var{m} @var{x} @var{y})
! 1 if the values represented by @var{x} and @var{y} are not equal,
! otherwise 0.
@findex gt
@cindex greater than
@item (gt:@var{m} @var{x} @var{y})
! 1 if the @var{x} is greater than @var{y}. If they are fixed-point,
! the comparison is done in a signed sense.
@findex gtu
@cindex greater than
--- 1628,1647 ----
@findex eq
@cindex equal
@item (eq:@var{m} @var{x} @var{y})
! @code{STORE_FLAG_VALUE} if the values represented by @var{x} and @var{y}
! are equal, otherwise 0.
@findex ne
@cindex not equal
@item (ne:@var{m} @var{x} @var{y})
! @code{STORE_FLAG_VALUE} if the values represented by @var{x} and @var{y}
! are not equal, otherwise 0.
@findex gt
@cindex greater than
@item (gt:@var{m} @var{x} @var{y})
! @code{STORE_FLAG_VALUE} if the @var{x} is greater than @var{y}. If they
! are fixed-point, the comparison is done in a signed sense.
@findex gtu
@cindex greater than