about summary refs log tree commit diff
path: root/ports/sysdeps/hppa
Commit message (Collapse)AuthorAgeFilesLines
* Relocate hppa from ports to libc.Carlos O'Donell2014-04-2983-5990/+0
|
* hppa: Use lll_futex_wake.Carlos O'Donell2014-04-291-1/+1
| | | | | The lll_private_futex_wake function no longer exists. Instead use lll_futex_make with LLL_PRIVATE as the last argument.
* hppa: Use r25 as second input to __longjmp.Carlos O'Donell2014-04-291-12/+13
| | | | | | The generated assembly is simplified if we use r25, the expected second argument to the function given the calling convention.
* Factor mmap/munmap of PT_LOAD segments out of _dl_map_object_from_fd et al.Roland McGrath2014-04-031-2/+2
|
* Compile with -Wundef.Roland McGrath2014-03-141-0/+1
|
* Don't include individual test ulps in libm-test-ulps.Joseph Myers2014-03-051-10747/+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.
* hppa: Remove fma ulps from libm-test-ulps.Carlos O'Donell2014-03-051-9/+0
| | | | | | | | The expected fma ulp of 1 has been removed. The fma function should have 0 ulps. Bug #16661 has been filed to track this issue.
* hppa: Regenerate ULPs again.Carlos O'Donell2014-03-041-0/+1821
|
* hppa: Regenerate ULPs.Carlos O'Donell2014-03-041-0/+28
|
* [hppa] Regenerate libm-test-ulps.Carlos O'Donell2014-02-031-42/+4444
| | | | Regenerate libm-test-ulps from scratch.
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0167-67/+67
|
* Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).Joseph Myers2013-11-281-0/+1
|
* Don't use broken DL_AUTO_FUNCTION_ADDRESS()Guy Martin2013-11-212-28/+36
| | | | | | | | | | | | On hppa and ia64, the macro DL_AUTO_FUNCTION_ADDRESS() uses the variable fptr[2] in it's own scope. The content of fptr[] is thus undefined right after the macro exits. Newer gcc's (>= 4.7) reuse the stack space of this variable triggering a segmentation fault in dl-init.c:69. To fix this we rewrite the macros to make the call directly to init and fini without needing to pass back a constructed function pointer.
* rename configure.in to configure.acMike Frysinger2013-10-302-1/+1
| | | | | | | 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>
* Fix typos.Ondřej Bílka2013-08-212-2/+2
|
* hppa: Regenerate libm-test-ulps.Carlos O'Donell2013-07-231-0/+39
|
* Remove trailing whitespace in ports.Joseph Myers2013-06-0526-58/+58
|
* Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar2013-05-291-3/+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-1294/+1294
|
* Handle sincos with generic libm-test logic.Joseph Myers2013-05-191-7/+7
|
* hppa: Cleanup libm-test-ulps.Carlos O'Donell2013-05-151-420/+0
| | | | | | | | | | | | | | | | Joseph Myers noted that there were several old and really very incorrect values in the hppa libm-test-ulps. This patch removes all of the ulps values for ceil, floor, rint, round, trun, llrint, and llround, all of which were previously incorreclty added (including some negative values which are really wrong). --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Remove old values for ceil, floor, rint, round, trunc, llrint, and llround.
* hppa: Update libm-test-ulpsCarlos O'Donell2013-05-151-15/+4164
| | | | | | | | | | | | | | Update libm-test-ulps for hppa. There are a few entries with 4 or 5 ulps, but these appear to be expected. A more thorough review will be required if hppa switches long-double to a different type. --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
* hppa: Fix _FPU_GETCW and _FPU_SETCW.Carlos O'Donell2013-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | The following patch fixes both _FPU_GETCW and _FPU_SETCW for hppa. The initial implementation was flawed and not well tested. We failed to set cw, and passed in the value of a register to fldd. This patch fixes both of those errors and allows the libm tests to pass without failure. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Carlos O'Donell <carlos@redhat.com> --- 2013-05-15 Guy Martin <gmsoft@tuxicoman.be> Carlos O'Donell <carlos@redhat.com> [BZ# 15000] * ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw. (_FPU_SETCW): Pass address to fldd.
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2013-04-021-0/+27
| | | | It is based on draft TS 18661 and currently enabled as a GNU extension.
* Use __extension__ with long long in installed headers.Joseph Myers2013-01-101-2/+2
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0266-66/+66
|
* hppa: Cleanup two build warnings for integer to pointers casts.Carlos O'Donell2012-11-291-2/+2
|
* hppa: Fix fesetenv for FE_DFL_ENV.Carlos O'Donell2012-11-191-10/+3
| | | | | Switching back to FE_DFL_ENV should reset the FPU to the state as it was at the start of the program.
* hppa: Implement get-rounding-mode.hCarlos O'Donell2012-11-192-1/+36
| | | | | Implement get_rounding_mode using the new fpu_control.h support. Use get_rounding_mode from fegetround.
* hppa: Implement fpu_control.h.Carlos O'Donell2012-11-191-0/+66
| | | | | The HP-PARISC processor has full IEEE-754 support and we implement all of fpu_control.h.
* hppa: Implement __longjmp_chk.Carlos O'Donell2012-11-194-80/+121
| | | | Implement longjmp and the chk variant in C.
* Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).Joseph Myers2012-11-051-2/+2
|
* 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-19/+28
|
* Fix strtod handling of underflow (bug 14047).Joseph Myers2012-10-301-0/+1
|
* Don't set resource limits in tst-oddstacklimit-ENV.Joseph Myers2012-10-242-7/+27
|
* hppa: Restore nptl/shlib-versions.Carlos O'Donell2012-10-101-0/+1
| | | | | On 2012-01-07 the nptl/shlib-versions file removed the hppa entry. This restores that entry in the hppa ports tree.
* Add missing magic to GLIBC_PROVIDES.Roland McGrath2012-10-091-82/+0
|
* Add generic versions of pthread_spin_lock and pthread_spin_trylock.Maxim Kuvyrkov2012-08-152-53/+6
|
* Move all files into ports/ subdirectory in preparation for merge with glibc glibc-2.16-ports-before-mergeJoseph Myers2012-07-0178-0/+6652