aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
AgeCommit message (Collapse)Author
2014-03-24S390: Define SIZE_MAX as unsigned long (BZ #16712).Stefan Liebler
2014-03-05Don't include individual test ulps in libm-test-ulps.Joseph Myers
As recently discussed <https://sourceware.org/ml/libc-alpha/2014-02/msg00670.html>, it doesn't seem particularly useful for libm-test-ulps files to contain huge amounts of data on ulps for individual tests; just the global maximum observed ulps for each function, together with the verification of exceptions, errno and special results such as infinities and NaNs for each test, suffices to verify that a function's behavior on the given test inputs is within the expected accuracy. Removing this data reduces source tree churn caused by updates to these files when libm tests are added, and reduces the frequency with which testsuite additions actually need libm-test-ulps changes at all. Accordingly, this patch removes that data, so that individual tests get checked against the global bounds for the given function and only generate an error if those are exceeded. Tested x86_64 (including verifying that if an ulps value is artificially reduced, the tests do indeed fail as they should and "make regen-ulps" generates the expected changes). * math/libm-test.inc (struct ulp_data): Don't refer to ulps for individual tests in comment. (libm-test-ulps.h): Don't refer to test_ulps in #include comment. (prev_max_error): New variable. (prev_real_max_error): Likewise. (prev_imag_max_error): Likewise. (compare_ulp_data): Don't refer to test names in comment. (find_test_ulps): Remove function. (find_function_ulps): Likewise. (find_complex_function_ulps): Likewise. (init_max_error): Take function name as argument. Look up ulps for that function. (print_ulps): Remove function. (print_max_error): Use prev_max_error instead of calling find_function_ulps. (print_complex_max_error): Use prev_real_max_error and prev_imag_max_error instead of calling find_complex_function_ulps. (check_float_internal): Take max_ulp parameter instead of calling find_test_ulps. Don't call print_ulps. (check_float): Update call to check_float_internal. (check_complex): Update calls to check_float_internal. (START): Pass argument to init_max_error. * math/gen-libm-test.pl (%results): Don't include "kind" information. (parse_ulps): Don't handle ulps of individual tests. (print_ulps_file): Likewise. (output_ulps): Likewise. * math/README.libm-test: Update. * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of individual tests. * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps. * sysdeps/alpha/fpu/libm-test-ulps: Likewise. * sysdeps/arm/libm-test-ulps: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Likewise. * sysdeps/ia64/fpu/libm-test-ulps: Likewise. * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. * sysdeps/microblaze/libm-test-ulps: Likewise. * sysdeps/mips/mips32/libm-test-ulps: Likewise. * sysdeps/mips/mips64/libm-test-ulps: Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. * sysdeps/sh/libm-test-ulps: Likewise. * sysdeps/sparc/fpu/libm-test-ulps: Likewise. * sysdeps/tile/libm-test-ulps: Likewise. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. * sysdeps/hppa/fpu/libm-test-ulps: Remove individual test ulps.
2014-02-25S/390: Regenerate ULPs.Stefan Liebler
2014-02-11BZ #16447: Fix ldbl-128 expl implementation.Andreas Krebbel
Extend the range of numbers handled via unsafe mode. Add expl testcase and regenerate ULPs for s390.
2014-02-10Use glibc_likely instead __builtin_expect.Ondřej Bílka
2014-01-16s390: implement sotruss supportMike Frysinger
See commit 41b1792698a335d3a85381921a84a16e9635f36a for testcase. Note: while this works on s390x, the s390 code hangs when using -e. But it hangs regardless of this code (the hang seems to occur before the exit func is even called). I didn't look too closely at it as it seems to be an issue external to this file, so this code shouldn't make the situation any worse. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-15S/390: Regenerate ULPs.Andreas Krebbel
2014-01-07S/390: Remove __tls_get_addr argument cast.Andreas Krebbel
2014-01-07S/390: Get rid of unused variable warning in dl-machine.hAndreas Krebbel
2014-01-07S/390: Make ucontext_t extendible.Andreas Krebbel
2014-01-07S/390: Make jmp_buf extendible.Andreas Krebbel
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-11-29[BZ #16214] S/390: Fix TLS GOT pointer setup.Andreas Krebbel
2013-11-28Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).Joseph Myers
2013-10-30rename configure.in to configure.acMike Frysinger
Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-23BZ #15754: CVE-2013-4788Carlos O'Donell
The pointer guard used for pointer mangling was not initialized for static applications resulting in the security feature being disabled. The pointer guard is now correctly initialized to a random value for static applications. Existing static applications need to be recompiled to take advantage of the fix. The test tst-ptrguard1-static and tst-ptrguard1 add regression coverage to ensure the pointer guards are sufficiently random and initialized to a default value.
2013-09-20Make __ffs hiddenAndreas Schwab
2013-08-30Fix typos.Ondřej Bílka
2013-07-22S/390: ULPs update.Andreas Krebbel
2013-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold
2013-06-05Remove trailing whitespace.Joseph Myers
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar
Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
2013-05-22Don't include expected results in libm-test test names.Joseph Myers
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers
2013-04-06s390/s390x: Undef PSEUDO before redef.Carlos O'Donell
The s390 and s390x sysdep.h files include the more generic sysdep.h. The more generic sysdep.h defines PSEUDO. This causes an annoying CPP warning saying the PSEUDO was redefined. This patch removes the warning by undefining PSEUDO before the redefinition. This is in line with what all the other machines do. --- 2013-04-06 Carlos O'Donell <carlos@redhat.com> * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition. * sysdeps/s390/s390-64/sysdep.h: Likewise. Notes: Added ChangeLog with this commit: b7a329a5614d9001abcc3300a3da548a0865a3ac
2013-03-05S/390: Use attribute_hidden in ifunc-resolve.cAndreas Krebbel
2013-02-21S/390: Fix _dl_runtime_profile for 32 bit.Andreas Krebbel
2013-02-18S/390: Fix _dl_runtime_profileAndreas Krebbel
2013-01-23S/390: Fix setjmp/longjmp FPR save/restoreAndreas Krebbel
2013-01-11Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers
2013-01-09Update s390 ULPsSiddhesh Poyarekar
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-12-21S/390: Update libm-test-ulps.Andreas Krebbel
2012-12-08Fix some build warnings on s390xSiddhesh Poyarekar
2012-11-08S/390: Add hwcap value for transactional execution.Andreas Krebbel
2012-11-07S/390: Sync AUXV capabilities and archs with kernelAndreas Krebbel
2012-11-05Fix S/390 bits/fenv.h namespace use (bug 14801).Joseph Myers
2012-11-03Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers
2012-11-03Make fenv.h FE_* macros usable in #if (bug 3439).Joseph Myers
2012-10-09Add missing magic to GLIBC_PROVIDES.Roland McGrath
2012-09-12Make strtod respect the rounding mode (bug 14518).Joseph Myers
2012-09-06S/390: Fix optimized mem* running on 31 bit kernels.Andreas Krebbel
2012-09-03S/390: Make IFUNC optimized mem* functions hidden.Andreas Krebbel
2012-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek
2012-07-26Move testsuite audit definitions to sysdeps tst-audit.h files.Joseph Myers
2012-07-25Move ldsodefs.h audit definitions to sysdeps directories.Joseph Myers
2012-07-19S/390: Add support for STT_GNU_IFUNC symbols.Andreas Krebbel
Add support for STT_GNU_IFUNC symbols and the new R_390_IRELATIVE relocation. Provide optimized version of memcpy, memset, and memcmp for z10 and z196.
2012-07-17Remove TLS configure checks.Marek Polacek
2012-07-17Split tls-macros.h into sysdeps directories.Joseph Myers