aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/rtl.texi
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2005-01-22 14:49:06 -0800
committerRichard Henderson <rth@gcc.gnu.org>2005-01-22 14:49:06 -0800
commit7ae4d8d4214508d400e28845b773e775ddbb7ac3 (patch)
tree44a7d07f7a98f7ff87b2faa87658e1de80d69f42 /gcc/doc/rtl.texi
parent190607885a2178612dcd3faefcb4a6e31d7c91cb (diff)
downloadgcc-7ae4d8d4214508d400e28845b773e775ddbb7ac3.zip
gcc-7ae4d8d4214508d400e28845b773e775ddbb7ac3.tar.gz
gcc-7ae4d8d4214508d400e28845b773e775ddbb7ac3.tar.bz2
genopinit.c (optabs): Use smin/smax for floating point too.
* genopinit.c (optabs): Use smin/smax for floating point too. * doc/md.texi: Update to match. Clarify that floating point results are undefined for +0/-0 and NaN. * doc/rtl.texi: Likewise. * rtl.def (SMIN, SMAX): Likewise * tree.def (MIN_EXPR, MAX_EXPR): Likewise. * config/alpha/alpha.md (smaxdf3, smindf3, smaxsf3, sminsf3): Add leading 's' to the name. * config/ia64/ia64.md (smaxsf3, sminsf3, smaxdf3, smindf3, smaxxf3, sminxf3): Likewise. * config/rs6000/rs6000.md (smaxdf3, smindf3, smaxsf3, sminsf3): Likewise. From-SVN: r94083
Diffstat (limited to 'gcc/doc/rtl.texi')
-rw-r--r--gcc/doc/rtl.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 9d6b9c2..1244c74 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -1887,7 +1887,10 @@ the quotient.
@item (smin:@var{m} @var{x} @var{y})
@itemx (smax:@var{m} @var{x} @var{y})
Represents the smaller (for @code{smin}) or larger (for @code{smax}) of
-@var{x} and @var{y}, interpreted as signed integers in mode @var{m}.
+@var{x} and @var{y}, interpreted as signed values in mode @var{m}.
+When used with floating point, if both operands are zeros, or if either
+operand is @code{NaN}, then it is unspecified which of the two operands
+is returned as the result.
@findex umin
@findex umax