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