public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFA: Tweak documentation of fma
@ 2015-02-03 14:29 Richard Sandiford
  2015-02-12 16:41 ` Richard Sandiford
  2015-02-12 22:03 ` Richard Henderson
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Sandiford @ 2015-02-03 14:29 UTC (permalink / raw)
  To: gcc-patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RFA: Tweak documentation of fma
  2015-02-03 14:29 RFA: Tweak documentation of fma Richard Sandiford
@ 2015-02-12 16:41 ` Richard Sandiford
  2015-02-12 22:03 ` Richard Henderson
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Sandiford @ 2015-02-12 16:41 UTC (permalink / raw)
  To: gcc-patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RFA: Tweak documentation of fma
  2015-02-03 14:29 RFA: Tweak documentation of fma Richard Sandiford
  2015-02-12 16:41 ` Richard Sandiford
@ 2015-02-12 22:03 ` Richard Henderson
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2015-02-12 22:03 UTC (permalink / raw)
  To: gcc-patches, richard.sandiford

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~

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-12 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-03 14:29 RFA: Tweak documentation of fma Richard Sandiford
2015-02-12 16:41 ` Richard Sandiford
2015-02-12 22:03 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).