numerical value of comparison results
Joern Rennecke
amylaar@redhat.com
Tue Dec 5 16:30:00 GMT 2000
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?
More information about the Gcc
mailing list