glibc/sysdeps
Paul Murphy 84d74e427a 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.
2016-10-21 16:40:03 -02:00
..
aarch64 Add femode_t functions: aarch64. 2016-09-07 16:41:20 +00:00
alpha Add femode_t functions: alpha. 2016-09-07 16:42:19 +00:00
arm Use VSQRT instruction for ARM sqrt (bug 20660). 2016-10-20 23:24:44 +00:00
generic Define HIGH_ORDER_BIT_IS_SET_FOR_SNAN to 0 or 1. 2016-10-17 22:48:51 +00:00
gnu Add TCP_REPAIR_WINDOW from Linux 4.8. 2016-10-03 21:01:42 +00:00
hppa Define HIGH_ORDER_BIT_IS_SET_FOR_SNAN to 0 or 1. 2016-10-17 22:48:51 +00:00
i386 Installed-header hygiene (BZ#20366): stack_t. 2016-09-23 08:43:56 -04:00
ia64 Remove the ptw-% patterns 2016-09-14 16:02:06 +02:00
ieee754 Add getpayload, getpayloadf, getpayloadl. 2016-10-19 01:49:09 +00:00
init_array Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
m68k Installed-header hygiene (BZ#20366): stack_t. 2016-09-23 08:43:56 -04:00
mach Installed-header hygiene (BZ#20366): stack_t. 2016-09-23 08:43:56 -04:00
microblaze Add femode_t functions. 2016-09-07 16:40:09 +00:00
mips Define HIGH_ORDER_BIT_IS_SET_FOR_SNAN to 0 or 1. 2016-10-17 22:48:51 +00:00
nacl Add getpayload, getpayloadf, getpayloadl. 2016-10-19 01:49:09 +00:00
nios2 Add femode_t functions. 2016-09-07 16:40:09 +00:00
nptl Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
posix hurd: fix fcntl visibility 2016-09-18 23:48:55 +02:00
powerpc powerpc: Cleanup fenv_private.h 2016-10-21 16:40:03 -02:00
pthread Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
s390 S390: Fix fp comparison not raising FE_INVALID. 2016-10-17 10:37:11 +02:00
sh Add femode_t functions: sh. 2016-09-07 16:48:08 +00:00
sparc Remove remnants of .og patterns 2016-09-20 12:18:13 +02:00
tile Add femode_t functions. 2016-09-07 16:40:09 +00:00
unix Add getpayload, getpayloadf, getpayloadl. 2016-10-19 01:49:09 +00:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
x86 Bug 20689: Fix FMA and AVX2 detection on Intel 2016-10-17 19:39:54 -04:00
x86_64 Use __builtin_fma more in dbl-64 code. 2016-09-30 15:49:51 +00:00