Re: [PATCH v2] [rs6000] Add documentation for __builtin_mtfsf

2019-07-22 Thread Segher Boessenkool
On Mon, Jul 22, 2019 at 09:00:08AM -0500, Paul Clarke wrote: > > 2019-07-21 Paul A. Clarke > > [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 t

[PATCH v2] [rs6000] Add documentation for __builtin_mtfsf

2019-07-22 Thread Paul Clarke
2019-07-21 Paul A. Clarke [gcc] * doc/extend.texi: Add documentation for __builtin_mtfsf. v2: wordsmithing at Segher's request. I'm having a hard time not saying too much. :-) Index: gcc/doc/extend.texi === --- gcc/

Re: [rs6000] Add documentation for __builtin_mtfsf

2019-07-21 Thread Segher Boessenkool
On Sun, Jul 21, 2019 at 02:50:41PM -0500, Paul Clarke wrote: > On 7/21/19 1:13 PM, Segher Boessenkool wrote: > > On Sun, Jul 21, 2019 at 04:06:32AM -0500, Paul Clarke wrote: > >> +@code{__builtin_mtfsf} takes a constant 8-bit integer field mask and a > >> +representation of the new value of the FPS

Re: [rs6000] Add documentation for __builtin_mtfsf

2019-07-21 Thread Paul Clarke
On 7/21/19 1:13 PM, Segher Boessenkool wrote: > On Sun, Jul 21, 2019 at 04:06:32AM -0500, Paul Clarke wrote: >> +@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} >> +instruction to copy the supplie

Re: [rs6000] Add documentation for __builtin_mtfsf

2019-07-21 Thread Segher Boessenkool
Hi Paul, On Sun, Jul 21, 2019 at 04:06:32AM -0500, Paul Clarke wrote: > @@ -16864,6 +16865,10 @@ return the value of the FPSCR register. Note, ISA > @code{__builtin_mffsl()} which permits software to read the control and > non-sticky status bits in the FSPCR without the higher latency associate

[rs6000] Add documentation for __builtin_mtfsf

2019-07-21 Thread Paul Clarke
2019-07-21 Paul A. Clarke [gcc] * doc/extend.texi: Add documentation for __builtin_mtfsf. Index: gcc/doc/extend.texi === --- gcc/doc/extend.texi (revision 273615) +++ gcc/doc/extend.texi (working copy) @@ -16848,6 +1684