diff options
author | David Sherwood <david.sherwood@arm.com> | 2015-11-25 17:12:28 +0000 |
---|---|---|
committer | David Sherwood <davids@gcc.gnu.org> | 2015-11-25 17:12:28 +0000 |
commit | ccb57bb09074b123d908f00820d865491fa656dd (patch) | |
tree | 9f0d2aa8a0fe20a54db2718aaed1374f98424162 /gcc/doc/md.texi | |
parent | c2127564efc152de34ea1a15ce9b20e8ddccfc2c (diff) | |
download | gcc-ccb57bb09074b123d908f00820d865491fa656dd.zip gcc-ccb57bb09074b123d908f00820d865491fa656dd.tar.gz gcc-ccb57bb09074b123d908f00820d865491fa656dd.tar.bz2 |
optabs.def: Add new optabs fmax_optab/fmin_optab.
2015-11-25 David Sherwood <david.sherwood@arm.com>
* optabs.def: Add new optabs fmax_optab/fmin_optab.
* internal-fn.def: Add new fmax/fmin internal functions.
* doc/md.texi: Add fmin and fmax patterns.
From-SVN: r230888
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r-- | gcc/doc/md.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index de1b58a..add8920 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -4980,6 +4980,15 @@ Signed minimum and maximum operations. 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. +@cindex @code{fmin@var{m}3} instruction pattern +@cindex @code{fmax@var{m}3} instruction pattern +@item @samp{fmin@var{m}3}, @samp{fmax@var{m}3} +IEEE-conformant minimum and maximum operations. If one operand is a quiet +@code{NaN}, then the other operand is returned. If both operands are quiet +@code{NaN}, then a quiet @code{NaN} is returned. In the case when gcc supports +signalling @code{NaN} (-fsignaling-nans) an invalid floating point exception is +raised and a quiet @code{NaN} is returned. + @cindex @code{reduc_smin_@var{m}} instruction pattern @cindex @code{reduc_smax_@var{m}} instruction pattern @item @samp{reduc_smin_@var{m}}, @samp{reduc_smax_@var{m}} |