diff mbox

RFA: Tweak documentation of fma

Message ID 87twz3cbm8.fsf@e105548-lin.cambridge.arm.com
State New
Headers show

Commit Message

Richard Sandiford Feb. 3, 2015, 2:29 p.m. UTC
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.

Comments

Richard Sandiford Feb. 12, 2015, 4:41 p.m. UTC | #1
Ping.

Richard Sandiford <richard.sandiford@arm.com> writes:
> 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
Richard Henderson Feb. 12, 2015, 10:03 p.m. UTC | #2
On 02/03/2015 06:29 AM, Richard Sandiford wrote:
>  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.

Ok.


r~
diff mbox

Patch

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