about summary refs log tree commit diff
path: root/sysdeps/sparc/fpu/libm-test-ulps
Commit message (Collapse)AuthorAgeFilesLines
* math: Remove inline math testsAdhemerval Zanella2020-03-191-837/+0
| | | | | | | | | | | | | With mathinline removal there is no need to keep building and testing inline math tests. The gen-libm-tests.py support to generate ULP_I_* is removed and all libm-test-ulps files are updated to longer have the i{float,double,ldouble} entries. The support for no-test-inline is also removed from both gen-auto-libm-tests and the auto-libm-test-out-* were regenerated. Checked on x86_64-linux-gnu and i686-linux-gnu.
* Regenerate sparc ulps.David S. Miller2018-10-181-44/+44
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
* Update SPARC libm-test-ulps.Adhemerval Zanella2018-04-051-0/+6
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ulpsAdhemerval Zanella2018-02-221-0/+2
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs.Patrick McGehearty2018-01-261-26/+26
| | | | | * sysdeps/sparc/fpu/libm-test-ulps: Update cpow, ctan, ctanh, j0, j1, y0, yn ulps.
* Sparc ulp update.David S. Miller2017-12-061-0/+6
| | | | | * sysdeps/sparc/fpu/libm-test-ulps: Update exp_{downward,towardzero,upward} ulps.
* Obsolete pow10 functions.Joseph Myers2017-09-011-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch obsoletes the pow10, pow10f and pow10l functions (makes them into compat symbols, not available for new ports or static linking). The exp10 names for these functions are standardized (in TS 18661-4) and were added in the same glibc version (2.1) as pow10 so source code can change to use them without any loss of portability. Since pow10 is deliberately not provided for _Float128, only exp10, this slightly simplifies moving to the new wrapper templates in the !LIBM_SVID_COMPAT case, by avoiding needing to arrange for pow10, pow10f and pow10l to be defined by those templates. Tested for x86_64, and with build-many-glibcs.py. * manual/math.texi (pow10): Do not document. (pow10f): Likewise. (pow10l): Likewise. * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare. * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise. * math/libm-test-exp10.inc (pow10_test): Remove. (do_test): Do not call pow10. * math/w_exp10_compat.c (pow10): Make into compat symbol. [NO_LONG_DOUBLE] (pow10l): Likewise. * math/w_exp10f_compat.c (pow10f): Likewise. * math/w_exp10l_compat.c (pow10l): Likewise. * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>. (pow10): Make into compat symbol. * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>. (pow10f): Make into compat symbol. * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>. (pow10l): Make into compat symbol. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove pow10. (CFLAGS-nldbl-pow10.c): Remove variable.. * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file. * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)]. * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol): Undefine and redefine. (pow10l): Make into compat symbol. * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps. * sysdeps/alpha/fpu/libm-test-ulps: Likewise. * sysdeps/arm/libm-test-ulps: Likewise. * sysdeps/hppa/fpu/libm-test-ulps: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Likewise. * sysdeps/i386/i686/fpu/multiarch/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/nios2/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.
* Update sparc ulpsAdhemerval Zanella2017-07-191-80/+88
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPS.David S. Miller2016-01-241-208/+228
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Regenerate SPARC ULPs.David S. Miller2015-07-161-239/+389
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
* Rebuilt fresh sparc ULPS to get rid of removed tests.David S. Miller2015-04-151-164/+74
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
* Update SPARC ulps.David S. Miller2015-04-081-88/+171
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPS.David S. Miller2014-07-091-6/+96
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update Sparc ULPs.David S. Miller2014-06-141-0/+24
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update Sparc ULPS.David S. Miller2014-06-011-0/+85
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Regenerate sparc ULPs.David S. Miller2014-04-131-4/+1022
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Don't include individual test ulps in libm-test-ulps.Joseph Myers2014-03-051-17853/+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.
* Adjust sparc ULPs.David S. Miller2014-02-041-0/+5
| | | | | * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from 32-bit.
* Rebuild sparc ULPs.David S. Miller2014-01-241-1203/+9817
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
* Update sparc ULPs.David S. Miller2013-10-101-0/+125
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update Sparc ULPs.David S. Miller2013-07-201-0/+5
| | | | | * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor difference between 32-bit and 64-bit.
* Full from-scratch rebuild of sparc ULPs.David S. Miller2013-07-071-238/+73
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
* Update sparc ULPs.David S. Miller2013-07-021-0/+46
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Don't include expected results in libm-test test names.Joseph Myers2013-05-221-2470/+2470
|
* Handle sincos with generic libm-test logic.Joseph Myers2013-05-191-7/+7
|
* Update Sparc ULPs.David S. Miller2013-05-141-6/+853
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update Sparc ULPs.David S. Miller2013-05-021-24/+4125
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs.David S. Miller2013-03-221-4/+1002
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update Sparc ULPs.David S. Miller2013-03-171-2/+14
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Add long-double sparc ULPs updates missing in previous commit.David S. Miller2013-02-041-0/+36
|
* Update sparc ULPs after Joseph's casin fixes.David S. Miller2013-02-041-0/+126
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs.David S. Miller2013-01-171-0/+74
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs for new casin{,h} tests.David S. Miller2013-01-101-0/+114
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update Sparc ULPs.David S. Miller2013-01-041-0/+5
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs for recently added pow tests.David S. Miller2012-11-281-0/+25
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix spurious underflows in ldbl-128 atan implementation.David S. Miller2012-11-191-0/+3
| | | | | | | | | | With help from Joseph Myers. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and very large arguments properly. * math/libm-test.inc (atan_test): New tests. (atan2_test): New tests. * sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
* Correct tinyness handling in long-double and float y0/y1.David S. Miller2012-11-181-1/+46
| | | | | | | | | | | | | | | | | With help from Joseph Myers. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness cutoff to 2**-13. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness cutoff to 2**-25. * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant. ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very small. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. * math/libm-test.inc (y0_test): New tests. (y1_test): New tests. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Uncorrupt Sparc ULPS file.David S. Miller2012-09-281-2/+1
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
* Revert "Add missed ildouble case in yesterday's sparc ULPs update for ↵David S. Miller2012-09-281-2/+0
| | | | | | | | clog/clog10." This reverts commit 084b8fabd28ab541efbe5ce7ef6008107a4b86ea. Sorry something put garbage into the string, will debug this.
* Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10.David S. Miller2012-09-281-0/+2
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPS for recent clog/clog10 activity.David S. Miller2012-09-271-2/+176
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs for recently added math tests.David S. Miller2012-09-051-0/+12
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update SPARC ULPs.David S. Miller2012-08-031-4/+51
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs.David S. Miller2012-07-311-0/+8
|
* Update sparc ULPs.David S. Miller2012-07-271-0/+53
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ULPs.David S. Miller2012-07-111-0/+449
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Update sparc ulps after Joseph's math.h fixes.David S. Miller2012-05-311-9/+0
| | | | | * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test entries.
* Don't include exceptions in libm-test-ulps test names.Joseph Myers2012-05-241-10/+10
|
* Update sparc ULPs for ccos, csin, ccosh, csinh tests.David S. Miller2012-05-191-0/+290
|
* With -frounding-math, some sparc ULPs need to be adjusted.David S. Miller2012-05-081-0/+33
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.