This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH v2 4/6] [powerpc] libc_feholdsetround_noex_ppc_ctx: optimize FPSCR write
On 9/23/19 12:54 PM, Paul Clarke wrote:
I think the change of tense and verb leading into the list threw me off.
Feel free to commit with or without changes as the message does convey
the intent of the patch.
Thanks for the review, Paul! Question...
On 9/23/19 10:54 AM, Paul E Murphy wrote:
On 9/19/19 1:46 PM, Paul A. Clarke wrote:
libc_feholdsetround_noex_ppc_ctx currently does, basically:
The listing reads awkwardly for me. I suggest a little cleanup. There is no need to post a new patch against my suggestion.
Here you say "listing", and there is a list (1-2-3) immediately below this text, and below you say "commit message", . Where would you like to see improvement? Happy to change, but it's hard for me to see what you're seeing. (And, of course, it's all perfectly clear to me since I wrote it! ;-)
1. Read FPSCR, save to context.
2. Create new FPSCR value: clear enables and set new rounding mode.
3. Write new value to FPSCR.