aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/libm-test-ulps
AgeCommit message (Collapse)Author
2014-06-30Update powerpc-fpu ULPs.Adhemerval Zanella
2014-06-25Update powerpc-fpu ULPs.Adhemerval Zanella
2014-06-11Update powerpc-fpu ULPs.Adhemerval Zanella
2014-05-26Update powerpc-fpu ULPs.Adhemerval Zanella
2014-05-20Update powerpc-fpu ULPs.Adhemerval Zanella
2014-04-06PowerPC: Fix nearbyint/nearbyintf result for FE_DOWNWARDAdhemerval Zanella
This patch fixes the powerpc32 optimized nearbyint/nearbyintf bogus results for FE_DOWNWARD rounding mode. This is due wrong instructions sequence used in the rounding calculation (two subtractions instead of adition and a subtraction). Fixes BZ#16815.
2014-03-25Update powerpc-fpu ULPs.Adhemerval Zanella
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-03-03PowerPC: Update powerpc-fpu ULPs.Adhemerval Zanella
2014-02-26PowerPC: Update powerpc-fpu ULPs.Adhemerval Zanella
2014-01-08Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-23Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-19Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-17Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-09Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-05Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-04Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-02Update powerpc-fpu ULPs.Adhemerval Zanella
2013-10-04PowerPC floating point little-endian [3 of 15]Alan Modra
http://sourceware.org/ml/libc-alpha/2013-08/msg00083.html Further replacement of ieee854 macros and unions. These files also have some optimisations for comparison against 0.0L, infinity and nan. Since the ABI specifies that the high double of an IBM long double pair is the value rounded to double, a high double of 0.0 means the low double must also be 0.0. The ABI also says that infinity and nan are encoded in the high double, with the low double unspecified. This means that tests for 0.0L, +/-Infinity and +/-NaN need only check the high double. * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite all uses of ieee854 long double macros and unions. Simplify tests for long doubles that are fully specified by the high double. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): Likewise. * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise. Remove dead code too. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. (__ieee754_ynl): Likewise. * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise. * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise. Remove dead code too. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise. Simplify. * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise. Simplify. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise. Comment on variable precision. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2013-09-11Update powerpc-fpu ULPs.Adhemerval Zanella
2013-07-04Update powerpc-fpu ULPs.Adhemerval Zanella
2013-05-28Update powerpc libm-test ULPs.Adhemerval Zanella
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-05-08 Update powerpc libm-test ULPsAdhemerval Zanella
2013-05-03Update powerpc libm-test ULPsAdhemerval Zanella
2013-04-30Update powerpc libm-test ULPsAdhemerval Zanella
2013-04-29Update powerpc libm-test ULPsAdhemerval Zanella
2013-03-28Fix e_logl (128ibm) spurious underflowAdhemerval Zanella
2013-01-09Update powerpc ULPsSiddhesh Poyarekar
2013-01-04Update powerpc libm ULPsAndreas Schwab
2012-11-23Update powerpc libm-test ULPsAndreas Schwab
2012-10-31Update powerpc libm ULPsAndreas Schwab
2012-07-11Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).Adhemerval Zanella
IBM long double fixes and POWER ulps update.
2012-06-01Sort sysdeps/powerpc/fpu/libm-test-ulpsAndreas Schwab
2012-05-24Don't include exceptions in libm-test-ulps test names.Joseph Myers
2012-05-21PowerPC: ULPs updateAdhemerval Zanella
Adjustments for libm ulps added with commit d8b82cad1b525bdcbfff88d218c7c45032e4a3af, 495fd99f3a119e5c0c542ccc6cf9c93b1fb9e892, and 5ba3cc691c856e5c67a7d4cd4713f20a79f7ba81. I also adjusted some exp10 ulps definition that was higher than needed.
2012-05-19Update powerpc ULPs for ccos, csin, ccosh, csinh tests.Adhemerval Zanella
2012-05-04Fix for ldbl-128ibm acosl/asinl inaccuraciesAdhemerval Zanella
2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix long double comparison inaccuracies. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): * Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012-04-26Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).Adhemerval Zanella
2012-04-24Correct powerpc64 s_floorl edge cases (bug 13886).Adhemerval Zanella
[BZ #13886] Remove powerpc64/fpu/s_floorl. Use fully correct ldbl-128bim/s_floorl.c.
2012-03-26Update powerpc libm test ULPsAndreas Schwab
2012-03-21Update powerpc libm-test ULPsAndreas Schwab
2012-03-18Update powerpc libm test ULPsAndreas Schwab
2012-03-15Use double precision instead of scaling for powerpc __ieee754_hypotfAndreas Schwab
2012-03-15Update powerpc libm ULPsAndreas Schwab
2012-03-10Update powerpc libm ULPsAndreas Schwab
2012-03-05Update powerpc libm ULPsAndreas Schwab
2012-03-04Update powerpc libm ULPsAndreas Schwab
2012-03-01Improve erfc accuracy.Joseph Myers