On Mon, Jul 22, 2019 at 09:00:08AM -0500, Paul Clarke wrote:
>
> 2019-07-21 Paul A. Clarke <[email protected]>
>
> [gcc]
>
> * doc/extend.texi: Add documentation for __builtin_mtfsf.
It should mention the section this is in... That is "Basic PowerPC
Built-in Functions Available on all Configurations" I think?
> v2: wordsmithing at Segher's request. I'm having a hard time not saying too
> much. :-)
:-)
> -accessing the sticky status bits. The
> +accessing the sticky status bits. The @code{__builtin_mtfsf} takes a
> constant
> +8-bit integer field mask and a representation of the new value of the FPSCR
> +and generates the @code{mtfsf} (extended mnemonic) instruction to write new
> +values to selected fields of the FPSCR. The
"The @code{__builtin_mtfsf} takes a constant 8-bit integer field mask
and a double precision floating point argument, and generates" etc.?
(It's not a representation of the new value, it says nothing about the
fields you do *not* write).
Okay for trunk with such a change. All backports are fine as well.
Thanks!
Segher