about summary refs log tree commit diff
path: root/sysdeps/s390
Commit message (Collapse)AuthorAgeFilesLines
* S390: Define SIZE_MAX as unsigned long (BZ #16712).Stefan Liebler2014-03-242-0/+2
|
* Don't include individual test ulps in libm-test-ulps.Joseph Myers2014-03-051-22611/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* S/390: Regenerate ULPs.Stefan Liebler2014-02-251-30/+4666
|
* BZ #16447: Fix ldbl-128 expl implementation.Andreas Krebbel2014-02-111-0/+3
| | | | | Extend the range of numbers handled via unsafe mode. Add expl testcase and regenerate ULPs for s390.
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-106-49/+49
|
* s390: implement sotruss supportMike Frysinger2014-01-161-0/+62
| | | | | | | | | | | | | 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>
* S/390: Regenerate ULPs.Andreas Krebbel2014-01-151-1139/+9960
|
* S/390: Remove __tls_get_addr argument cast.Andreas Krebbel2014-01-071-1/+1
|
* S/390: Get rid of unused variable warning in dl-machine.hAndreas Krebbel2014-01-071-1/+2
|
* S/390: Make ucontext_t extendible.Andreas Krebbel2014-01-072-0/+11
|
* S/390: Make jmp_buf extendible.Andreas Krebbel2014-01-0716-18/+490
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-01105-105/+105
|
* [BZ #16214] S/390: Fix TLS GOT pointer setup.Andreas Krebbel2013-11-294-18/+47
|
* Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).Joseph Myers2013-11-281-0/+1
|
* rename configure.in to configure.acMike Frysinger2013-10-304-2/+2
| | | | | | | 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>
* BZ #15754: CVE-2013-4788Carlos O'Donell2013-09-232-0/+25
| | | | | | | | | | | | 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.
* Make __ffs hiddenAndreas Schwab2013-09-201-0/+1
|
* Fix typos.Ondřej Bílka2013-08-301-1/+1
|
* S/390: ULPs update.Andreas Krebbel2013-07-221-141/+6285
|
* Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold2013-06-281-1/+1
|
* Remove trailing whitespace.Joseph Myers2013-06-052-4/+4
|
* Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar2013-05-292-4/+2
| | | | | | | | | 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.
* Don't include expected results in libm-test test names.Joseph Myers2013-05-221-750/+750
|
* Handle sincos with generic libm-test logic.Joseph Myers2013-05-191-7/+7
|
* s390/s390x: Undef PSEUDO before redef.Carlos O'Donell2013-04-062-0/+2
| | | | | | | | | | | | | | | | | | | 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
* S/390: Use attribute_hidden in ifunc-resolve.cAndreas Krebbel2013-03-052-6/+6
|
* S/390: Fix _dl_runtime_profile for 32 bit.Andreas Krebbel2013-02-211-5/+11
|
* S/390: Fix _dl_runtime_profileAndreas Krebbel2013-02-181-32/+38
|
* S/390: Fix setjmp/longjmp FPR save/restoreAndreas Krebbel2013-01-233-9/+17
|
* Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers2013-01-111-1/+1
|
* Use __extension__ with long long in installed headers.Joseph Myers2013-01-101-0/+1
|
* Update s390 ULPsSiddhesh Poyarekar2013-01-091-66/+185
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-02105-107/+105
|
* S/390: Update libm-test-ulps.Andreas Krebbel2012-12-211-62/+839
|
* Fix some build warnings on s390xSiddhesh Poyarekar2012-12-084-7/+7
|
* S/390: Add hwcap value for transactional execution.Andreas Krebbel2012-11-082-3/+6
|
* S/390: Sync AUXV capabilities and archs with kernelAndreas Krebbel2012-11-071-4/+4
|
* Fix S/390 bits/fenv.h namespace use (bug 14801).Joseph Myers2012-11-054-12/+12
|
* Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers2012-11-031-1/+2
|
* Make fenv.h FE_* macros usable in #if (bug 3439).Joseph Myers2012-11-031-18/+27
|
* Add missing magic to GLIBC_PROVIDES.Roland McGrath2012-10-092-0/+2
|
* Make strtod respect the rounding mode (bug 14518).Joseph Myers2012-09-121-0/+37
|
* S/390: Fix optimized mem* running on 31 bit kernels.Andreas Krebbel2012-09-065-7/+8
|
* S/390: Make IFUNC optimized mem* functions hidden.Andreas Krebbel2012-09-032-6/+10
|
* Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek2012-08-024-10/+6
|
* Move testsuite audit definitions to sysdeps tst-audit.h files.Joseph Myers2012-07-262-0/+50
|
* Move ldsodefs.h audit definitions to sysdeps directories.Joseph Myers2012-07-251-0/+57
|
* S/390: Add support for STT_GNU_IFUNC symbols.Andreas Krebbel2012-07-1919-102/+1185
| | | | | | 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.
* Remove TLS configure checks.Marek Polacek2012-07-174-302/+0
|
* Split tls-macros.h into sysdeps directories.Joseph Myers2012-07-172-0/+186
|