]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rtl.texi (Comparison operations): Update to record the allowed comparison modes.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 7 Apr 2003 20:13:29 +0000 (22:13 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 7 Apr 2003 20:13:29 +0000 (20:13 +0000)
* doc/rtl.texi (Comparison operations): Update to
record the allowed comparison modes.

From-SVN: r65341

gcc/ChangeLog
gcc/doc/rtl.texi

index 3e6259be6fcb8d8a9400c77e25d939e758b21cb4..975d99eeb40c206c272c27ee79729ff0f49cfec3 100644 (file)
@@ -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
index b7b5b30692d48694737a932276545bfac706c2ce..da92b467f5f69f326345d000a738d5d8b5696650 100644 (file)
@@ -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