]> git.ipfire.org Git - thirdparty/glibc.git/commit
[powerpc] __fesetround_inline optimizations
authorPaul A. Clarke <pc@us.ibm.com>
Thu, 19 Sep 2019 16:39:44 +0000 (11:39 -0500)
committerPaul A. Clarke <pc@us.ibm.com>
Fri, 27 Sep 2019 13:53:01 +0000 (08:53 -0500)
commite68b1151f7460d5fa88c3a567c13f66052da79a7
tree5ad422da01176650d27386a6901ca53c5630b2b8
parent7413c188c77adb26a15cf0e98e0a991d09d73c65
[powerpc] __fesetround_inline optimizations

On POWER9, use more efficient means to update the 2-bit rounding mode
via the 'mffscrn' instruction (instead of two 'mtfsb0/1' instructions
or one 'mtfsfi' instruction that modifies 4 bits).

Suggested-by: Paul E. Murphy <murphyp@linux.ibm.com>
Reviewed-By: Paul E Murphy <murphyp@linux.ibm.com>
ChangeLog
sysdeps/powerpc/fpu/fenv_libc.h