This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: Tweak documentation of fma
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 Feb 2015 14:29:03 +0000
- Subject: RFA: Tweak documentation of fma
- Authentication-results: sourceware.org; auth=none
The original reason for this was to fix the missing space before "@var{z}".
"Do a combined multiply ... and then" didn't sound quite right though:
"and then" implies a separate step and so feels like a contradiction
of "combined".
Tested with "make doc html pdf". OK to install?
Thanks,
Richard
gcc/
* doc/rtl.texi (fma): Clarify documentation.
Index: gcc/doc/rtl.texi
===================================================================
--- gcc/doc/rtl.texi 2015-01-12 15:28:02.413075415 +0000
+++ gcc/doc/rtl.texi 2015-02-03 14:21:02.485178134 +0000
@@ -2306,8 +2306,8 @@ For unsigned widening multiplication, us
@findex fma
@item (fma:@var{m} @var{x} @var{y} @var{z})
Represents the @code{fma}, @code{fmaf}, and @code{fmal} builtin
-functions that do a combined multiply of @var{x} and @var{y} and then
-adding to@var{z} without doing an intermediate rounding step.
+functions, which compute @samp{@var{x} * @var{y} + @var{z}}
+without doing an intermediate rounding step.
@findex div
@findex ss_div