aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul A. Clarke <pc@us.ibm.com>2019-09-19 09:13:14 -0500
committerPaul A. Clarke <pc@us.ibm.com>2019-09-27 08:48:56 -0500
commite3d85df50b083c9ba68a40f5d45b201cbec4e68b (patch)
treef56af21b923f1dcbd3a04137808c01643a2c9b68 /ChangeLog
parent9a44050e745685c1e703b4402ef3df855ef6de80 (diff)
downloadglibc-e3d85df50b083c9ba68a40f5d45b201cbec4e68b.zip
glibc-e3d85df50b083c9ba68a40f5d45b201cbec4e68b.tar.gz
glibc-e3d85df50b083c9ba68a40f5d45b201cbec4e68b.tar.bz2
[powerpc] fenv_private.h clean up
fenv_private.h includes unused functions, magic macro constants, and some replicated common code fragments. Remove unused functions, replace magic constants with constants from fenv_libc.h, and refactor replicated code. Suggested-by: Paul E. Murphy <murphyp@linux.ibm.com> Reviewed-By: Paul E Murphy <murphyp@linux.ibm.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ff5692a..90e12eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+2019-09-27 Paul A. Clarke <pc@us.ibm.com>
+
+ * sysdeps/powerpc/fpu/fenv_libc.h:
+ (__TEST_AND_ENTER_NON_STOP): New.
+ (__TEST_AND_EXIT_NON_STOP): New.
+ * sysdeps/powerpc/fpu/fenv_private.h
+ (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
+ (_FPU_MASK_RN): Delete.
+ (_FPU_MASK_NOT_RN_NI): Delete.
+ (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
+ (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
+ (__libc_feholdbits_ppc): Delete, move code into
+ libc_feholdexcept_setround_ppc.
+ (libc_feholdexcept_ppc): Delete.
+ (libc_fesetround_ppc): Delete.
+ (libc_fetestexcept_ppc): Delete.
+ (libc_feholdsetround_ppc): Delete.
+ (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
+ (libc_feholdsetround_noex_ppc_ctx): Likewise.
+ (libc_feupdateenv_test_ppc): Use FPSCR defines.
+ * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
+ __TEST_AND_ENTER_NON_STOP.
+ * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
+ * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
+ * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
+ * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
+ * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
+ (_FPU_MASK_ALL): Delete.
+
2019-09-27 Joseph Myers <joseph@codesourcery.com>
* sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.