diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2003-04-07 22:13:29 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2003-04-07 20:13:29 +0000 |
commit | 60ba917e16cb9106cb89a182690d5e8351bbf83e (patch) | |
tree | 37554f760f121b41c90266e70a011b612ff72934 /gcc | |
parent | 2abe3e28f3a30e4c8b26be31f7c1941cc79d4dfa (diff) | |
download | gcc-60ba917e16cb9106cb89a182690d5e8351bbf83e.zip gcc-60ba917e16cb9106cb89a182690d5e8351bbf83e.tar.gz gcc-60ba917e16cb9106cb89a182690d5e8351bbf83e.tar.bz2 |
rtl.texi (Comparison operations): Update to record the allowed comparison modes.
* doc/rtl.texi (Comparison operations): Update to
record the allowed comparison modes.
From-SVN: r65341
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/rtl.texi | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e6259b..975d99e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-04-07 Eric Botcazou <ebotcazou@libertysurf.fr> + + * doc/rtl.texi (Comparison operations): Update to + record the allowed comparison modes. + 2003-04-07 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index b7b5b30..da92b46 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -1883,14 +1883,14 @@ mode. Comparison operators test a relation on two operands and are considered to represent a machine-dependent nonzero value described by, but not necessarily equal to, @code{STORE_FLAG_VALUE} (@pxref{Misc}) -if the relation holds, or zero if it does not. The mode of the -comparison operation is independent of the mode of the data being -compared. If the comparison operation is being tested (e.g., the first -operand of an @code{if_then_else}), the mode must be @code{VOIDmode}. -If the comparison operation is producing data to be stored in some -variable, the mode must be in class @code{MODE_INT}. All comparison -operations producing data must use the same mode, which is -machine-specific. +if the relation holds, or zero if it does not, for comparison operators +whose results have a `MODE_INT' mode, and +@code{FLOAT_STORE_FLAG_VALUE} (@pxref{Misc}) if the relation holds, or +zero if it does not, for comparison operators that return floating-point +values. The mode of the comparison operation is independent of the mode +of the data being compared. If the comparison operation is being tested +(e.g., the first operand of an @code{if_then_else}), the mode must be +@code{VOIDmode}. @cindex condition codes There are two ways that comparison operations may be used. The |