From: Eric Botcazou Date: Mon, 7 Apr 2003 20:13:29 +0000 (+0200) Subject: rtl.texi (Comparison operations): Update to record the allowed comparison modes. X-Git-Tag: releases/gcc-3.4.0~7432 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60ba917e16cb9106cb89a182690d5e8351bbf83e;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e6259be6fcb..975d99eeb40c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-04-07 Eric Botcazou + + * doc/rtl.texi (Comparison operations): Update to + record the allowed comparison modes. + 2003-04-07 Aldy Hernandez * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index b7b5b30692d4..da92b467f5f6 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