diff options
author | Paul Murphy <murphyp@linux.vnet.ibm.com> | 2016-06-10 14:50:32 -0500 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-10-21 16:40:03 -0200 |
commit | 84d74e427a771906830800e574a72f8d25a954b8 (patch) | |
tree | 9574218747cd3569847507e3714e4ff38cbac897 /termios | |
parent | b3918c44db615637b26d919ce599cd86592316b3 (diff) | |
download | glibc-84d74e427a771906830800e574a72f8d25a954b8.tar.gz glibc-84d74e427a771906830800e574a72f8d25a954b8.tar.xz glibc-84d74e427a771906830800e574a72f8d25a954b8.zip |
powerpc: Cleanup fenv_private.h
Some of the masks are wrong, and the naming is confusing. There are two basic cases we really care about: 1. Stacking a new rounding mode when running certain sections of code, and pausing exception handling. 2. Likewise, but discarding any exceptions which occur while running under the new rounding mode. libc_feholdexcept_setround_ppc_ctx has been removed as it basically does the same thing as libc_feholdsetround_ppc_ctx but also clearing any sticky bits. The restore behavior is what differentiates these two cases as the SET_RESTORE_ROUND{,_NOEX} macros will either merge or discard all exceptions occurring during scope of their usage. Likewise, there are a number of routines to swap, replace, or merge FP environments. This change reduces much of the common and sometimes wrong code. Tested on ppc64le, with results before and after.
Diffstat (limited to 'termios')
0 files changed, 0 insertions, 0 deletions