about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul A. Clarke <pc@us.ibm.com>2019-03-15 19:04:24 -0400
committerPaul A. Clarke <pc@us.ibm.com>2019-06-06 14:11:56 -0500
commitde751ebc9efa97ce0115e42bd55fa1beeb614380 (patch)
tree5dd54e292a36158dba41efd8491908f05365b3f8 /ChangeLog
parent28dd3939221ab26c6774097e9596e30d9753f758 (diff)
downloadglibc-de751ebc9efa97ce0115e42bd55fa1beeb614380.tar.gz
glibc-de751ebc9efa97ce0115e42bd55fa1beeb614380.tar.xz
glibc-de751ebc9efa97ce0115e42bd55fa1beeb614380.zip
[powerpc] get_rounding_mode: utilize faster method to get rounding mode
Add support to use 'mffsl' instruction if compiled for POWER9 (or later).

Also, mask the result to avoid bleeding unrelated bits into the result of
_FPU_GET_RC().

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 89176cbccd..d988bc5309 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2019-06-06  Paul A. Clarke  <pc@us.ibm.com>
+
+	* sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
+	(__FPU_MFFS): New.
+	(__FPU_MFFSL): New.
+	(_FPU_GET_RC): New.
+	(_FPU_GETCW): Use __FPU_MFFS().
+	* sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
+
 2019-06-06  Florian Weimer  <fweimer@redhat.com>
 
 	* sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use