From de751ebc9efa97ce0115e42bd55fa1beeb614380 Mon Sep 17 00:00:00 2001 From: "Paul A. Clarke" Date: Fri, 15 Mar 2019 19:04:24 -0400 Subject: [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 --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 89176cbccd..d988bc5309 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2019-06-06 Paul A. Clarke + + * 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 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use -- cgit 1.4.1