From 60ba917e16cb9106cb89a182690d5e8351bbf83e Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 7 Apr 2003 22:13:29 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/rtl.texi | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e6259be6fc..975d99eeb40 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 b7b5b30692d..da92b467f5f 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 -- 2.30.2