This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
numerical value of comparison results
- To: gcc at gcc dot gnu dot org
- Subject: numerical value of comparison results
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Wed, 6 Dec 2000 00:30:26 +0000 (GMT)
rtl.texi says:
@table @code
@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.
... and similarly for the other comparison operators.
However, simplify_relational_operation uses const_true_rtx if the comparison
is true. So if STORE_FLAG_VALUE is different from 1, we get a different
result.
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?