GitHub PushEvent at 2014-03-21 02:03:26
Repository: glibc
Actor: berenm
Payload: {"shas":[["ae3a5dff0f4135cc57ddddf3c19ed5be80285b54","461476587780aa9fa5611ea6dc3912c146a91760@codesourcery.com","Make libm-test support ALL_RM_TEST with AUTO_TESTS_*.\n\nThis patch continues improvements to all-rounding-mode libm testing by\nmaking testing with ALL_RM_TEST support test results from\nauto-libm-test-out.  gen-libm-test.pl is adapted to generate\nappropriate output with results for each rounding mode, with\nAUTO_TESTS_* calls no longer specifying a rounding mode.  Where there\nwere separate functions in libm-test.inc to test a function in each\nrounding mode, using AUTO_TESTS_* to list the tests for each rounding\nmode, those are converted to using ALL_RM_TEST (so generally this\npatch doesn't change the sets of tests run in each rounding mode,\nexcept that in various cases special-case tests given directly in\nlibm-test.inc were previously run only for round-to-nearest, and now\nare run for all rounding modes).\n\nTested x86_64 and x86.\n\n\t* math/gen-libm-test.pl (generate_testfile): Expect only function\n\tname as argument to AUTO_TESTS_* and pass results for all rounding\n\tmodes to parse_args.\n\t(parse_auto_input): Separate inputs of automatic tests from\n\toutputs before storing in %auto_tests.\n\t* math/libm-test.inc (acos_test_data): Update call to\n\tAUTO_TESTS_f_f.\n\t(acos_test): Use ALL_RM_TEST.\n\t(acos_tonearest_test_data): Remove.\n\t(acos_test_tonearest): Likewise.\n\t(acos_towardzero_test_data): Likewise.\n\t(acos_test_towardzero): Likewise.\n\t(acos_downward_test_data): Likewise.\n\t(acos_test_downward): Likewise.\n\t(acos_upward_test_data): Likewise.\n\t(acos_test_upward): Likewise.\n\t(acosh_test_data): Update call to AUTO_TESTS_f_f.\n\t(asin_test_data): Likewise.\n\t(asin_test): Use ALL_RM_TEST.\n\t(asin_tonearest_test_data): Remove.\n\t(asin_test_tonearest): Likewise.\n\t(asin_towardzero_test_data): Likewise.\n\t(asin_test_towardzero): Likewise.\n\t(asin_downward_test_data): Likewise.\n\t(asin_test_downward): Likewise.\n\t(asin_upward_test_data): Likewise.\n\t(asin_test_upward): Likewise.\n\t(asinh_test_data): Update call to AUTO_TESTS_f_f.\n\t(atan_test_data): Likewise.\n\t(atanh_test_data): Likewise.\n\t(atan2_test_data): Update call to AUTO_TESTS_ff_f.\n\t(cabs_test_data): Update call to AUTO_TESTS_c_f.\n\t(carg_test_data): Likewise.\n\t(cbrt_test_data): Update call to AUTO_TESTS_f_f.\n\t(ccos_test_data): Update call to AUTO_TESTS_c_c.\n\t(ccosh_test_data): Likewise.\n\t(cexp_test_data): Likewise.\n\t(clog_test_data): Likewise.\n\t(clog10_test_data): Likewise.\n\t(cos_test_data): Update call to AUTO_TESTS_f_f.\n\t(cos_test): Use ALL_RM_TEST.\n\t(cos_tonearest_test_data): Remove.\n\t(cos_test_tonearest): Likewise.\n\t(cos_towardzero_test_data): Likewise.\n\t(cos_test_towardzero): Likewise.\n\t(cos_downward_test_data): Likewise.\n\t(cos_test_downward): Likewise.\n\t(cos_upward_test_data): Likewise.\n\t(cos_test_upward): Likewise.\n\t(cosh_test_data): Update call to AUTO_TESTS_f_f.\n\t(cosh_test): Use ALL_RM_TEST.\n\t(cosh_tonearest_test_data): Remove.\n\t(cosh_test_tonearest): Likewise.\n\t(cosh_towardzero_test_data): Likewise.\n\t(cosh_test_towardzero): Likewise.\n\t(cosh_downward_test_data): Likewise.\n\t(cosh_test_downward): Likewise.\n\t(cosh_upward_test_data): Likewise.\n\t(cosh_test_upward): Likewise.\n\t(cpow_test_data): Update call to AUTO_TESTS_cc_c.\n\t(csqrt_test_data): Update call to AUTO_TESTS_c_c.\n\t(ctan_test_data): Likewise.\n\t(ctan_test): Use ALL_RM_TEST.\n\t(ctan_tonearest_test_data): Remove.\n\t(ctan_test_tonearest): Likewise.\n\t(ctan_towardzero_test_data): Likewise.\n\t(ctan_test_towardzero): Likewise.\n\t(ctan_downward_test_data): Likewise.\n\t(ctan_test_downward): Likewise.\n\t(ctan_upward_test_data): Likewise.\n\t(ctan_test_upward): Likewise.\n\t(ctanh_test_data): Update call to AUTO_TESTS_c_c.\n\t(ctanh_test): Use ALL_RM_TEST.\n\t(ctanh_tonearest_test_data): Remove.\n\t(ctanh_test_tonearest): Likewise.\n\t(ctanh_towardzero_test_data): Likewise.\n\t(ctanh_test_towardzero): Likewise.\n\t(ctanh_downward_test_data): Likewise.\n\t(ctanh_test_downward): Likewise.\n\t(ctanh_upward_test_data): Likewise.\n\t(ctanh_test_upward): Likewise.\n\t(erf_test_data): Update call to AUTO_TESTS_f_f.\n\t(erfc_test_data): Likewise.\n\t(exp_test_data): Likewise.\n\t(exp_test): Use ALL_RM_TEST.\n\t(exp_tonearest_test_data): Remove.\n\t(exp_test_tonearest): Likewise.\n\t(exp_towardzero_test_data): Likewise.\n\t(exp_test_towardzero): Likewise.\n\t(exp_downward_test_data): Likewise.\n\t(exp_test_downward): Likewise.\n\t(exp_upward_test_data): Likewise.\n\t(exp_test_upward): Likewise.\n\t(exp10_test_data): Update call to AUTO_TESTS_f_f.\n\t(exp10_test): Use ALL_RM_TEST.\n\t(exp10_tonearest_test_data): Remove.\n\t(exp10_test_tonearest): Likewise.\n\t(exp10_towardzero_test_data): Likewise.\n\t(exp10_test_towardzero): Likewise.\n\t(exp10_downward_test_data): Likewise.\n\t(exp10_test_downward): Likewise.\n\t(exp10_upward_test_data): Likewise.\n\t(exp10_test_upward): Likewise.\n\t(exp2_test_data): Update call to AUTO_TESTS_f_f.\n\t(expm1_test_data): Likewise.\n\t(expm1_test): Use ALL_RM_TEST.\n\t(expm1_tonearest_test_data): Remove.\n\t(expm1_test_tonearest): Likewise.\n\t(expm1_towardzero_test_data): Likewise.\n\t(expm1_test_towardzero): Likewise.\n\t(expm1_downward_test_data): Likewise.\n\t(expm1_test_downward): Likewise.\n\t(expm1_upward_test_data): Likewise.\n\t(expm1_test_upward): Likewise.\n\t(fma_test_data): Update call to AUTO_TESTS_fff_f.\n\t(fma_test): Use ALL_RM_TEST.\n\t(fma_towardzero_test_data): Remove.\n\t(fma_test_towardzero): Likewise.\n\t(fma_downward_test_data): Likewise.\n\t(fma_test_downward): Likewise.\n\t(fma_upward_test_data): Likewise.\n\t(fma_test_upward): Likewise.\n\t(hypot_test_data): Update call to AUTO_TESTS_ff_f.\n\t(j0_test_data): Update call to AUTO_TESTS_f_f.\n\t(j1_test_data): Likewise.\n\t(jn_test_data): Update call to AUTO_TESTS_if_f.\n\t(lgamma_test_data): Update call to AUTO_TESTS_f_f1.\n\t(log_test_data): Update call to AUTO_TESTS_f_f.\n\t(log10_test_data): Likewise.\n\t(log1p_test_data): Likewise.\n\t(log2_test_data): Likewise.\n\t(pow_test_data): Update call to AUTO_TESTS_ff_f.\n\t(pow_tonearest_test_data): Likewise.\n\t(sin_test_data): Update call to AUTO_TESTS_f_f.\n\t(sin_test): Use ALL_RM_TEST.\n\t(sin_tonearest_test_data): Remove.\n\t(sin_test_tonearest): Likewise.\n\t(sin_towardzero_test_data): Likewise.\n\t(sin_test_towardzero): Likewise.\n\t(sin_downward_test_data): Likewise.\n\t(sin_test_downward): Likewise.\n\t(sin_upward_test_data): Likewise.\n\t(sin_test_upward): Likewise.\n\t(sincos_test_data): Update call to AUTO_TESTS_fFF_11.\n\t(sinh_test_data): Update call to AUTO_TESTS_f_f.\n\t(sinh_test): Use ALL_RM_TEST.\n\t(sinh_tonearest_test_data): Remove.\n\t(sinh_test_tonearest): Likewise.\n\t(sinh_towardzero_test_data): Likewise.\n\t(sinh_test_towardzero): Likewise.\n\t(sinh_downward_test_data): Likewise.\n\t(sinh_test_downward): Likewise.\n\t(sinh_upward_test_data): Likewise.\n\t(sinh_test_upward): Likewise.\n\t(sqrt_test_data): Update call to AUTO_TESTS_f_f.\n\t(sqrt_test): Use ALL_RM_TEST.\n\t(sqrt_tonearest_test_data): Remove.\n\t(sqrt_test_tonearest): Likewise.\n\t(sqrt_towardzero_test_data): Likewise.\n\t(sqrt_test_towardzero): Likewise.\n\t(sqrt_downward_test_data): Likewise.\n\t(sqrt_test_downward): Likewise.\n\t(sqrt_upward_test_data): Likewise.\n\t(sqrt_test_upward): Likewise.\n\t(tan_test_data): Update call to AUTO_TESTS_f_f.\n\t(tan_test): Use ALL_RM_TEST.\n\t(tan_tonearest_test_data): Remove.\n\t(tan_test_tonearest): Likewise.\n\t(tan_towardzero_test_data): Likewise.\n\t(tan_test_towardzero): Likewise.\n\t(tan_downward_test_data): Likewise.\n\t(tan_test_downward): Likewise.\n\t(tan_upward_test_data): Likewise.\n\t(tan_test_upward): Likewise.\n\t(tanh_test_data): Update call to AUTO_TESTS_f_f.\n\t(tgamma_test_data): Likewise.\n\t(y0_test_data): Likewise.\n\t(y1_test_data): Likewise.\n\t(yn_test_data): Update call to AUTO_TESTS_if_f.\n\t(main): Do not call removed functions.","Joseph Myers",true],["6eaf95cbfa0031ea267682dc2c9c17ed3e3dc167","d65d17b4d2657911f0e3a506f42386862348b0e7@linux.vnet.ibm.com","PowerPC: optimized strcspn for PPC64/POWER7\n\nThis patch add a optimized strcspn for POWER7 by using a different\nalgorithm than default implementation: it constructs a table based on\nthe 'accept' argument and use this table to check for any occurance\non the input string. The idea is similar as x86_64 uses.\nFor PowerPC some tunings were added, such as unroll loops and align\nstack memory to table to 16 bytes (so VSX clean can ran without\nalignment issues).","Adhemerval Zanella",true],["8c92dfff412c20dc0c483ea68444d093a5672de0","461476587780aa9fa5611ea6dc3912c146a91760@codesourcery.com","Test most libm functions in all rounding modes.\n\nThis patch makes libm-test.inc tests of most functions use ALL_RM_TEST\nunless there was some reason to defer that change for a particular\nfunction.\n\nI started out planning to defer the change for pow (bug 16315), cexp /\nccos / ccosh / csin / csinh (likely fallout from exp, bug 16284) and\ncpow (exact expectations for signs of exact zero results not wanted).\nTesting on x86_64 and x86 showed additional failures for acosh, cacos,\ncatan, catanh, clog, clog10, jn, log, log10, log1p, log2, tgamma, yn,\nso making the change for those functions was deferred as well, pending\ninvestigation to show which of these represent distinct bugs (some\nsuch bugs may already be filed) and appropriate fixing / XFAILing.\nFailures include wrong signs of zero results, errors slightly above\nthe 9ulp bound (in such cases it may make sense for functions to set\nround-to-nearest internally to reduce error accumulation), large\nerrors and incorrect overflow/underflow for the rounding mode (with\nconsequent missing errno settings in some cases).  It's possible some\ncould be issues with test expectations, though I didn't notice any\nthat were obviously like that (I added NO_TEST_INLINE for cases that\nwere failing for ildoubl on x86 and where it seemed reasonable for\nthem to fail for the fast-math inlines).\n\nThere may of course be failures on other architectures for functions\nthat didn't fail on x86_64 or x86, in which case the usual rule\napplies: file a bug (preferably identifying the underlying problem\nfunction, in cases where function A calls function B and a problem\nwith function B may present in the test results for function A) if not\nalready in Bugzilla then fix or XFAIL.\n\nTested x86_64 and x86 and ulps updated accordingly.\n\n\t* math/libm-test.inc (asinh_test): Use ALL_RM_TEST.\n\t(atan_test): Likewise.\n\t(atanh_test_data): Use NO_TEST_INLINE for two tests.\n\t(atanh_test): Use ALL_RM_TEST.\n\t(atan2_test_data): Likewise.\n\t(cabs_test): Likewise.\n\t(cacosh_test): Likewise.\n\t(carg_test): Likewise.\n\t(casin_test): Likewise.\n\t(casinh_test): Likewise.\n\t(cbrt_test): Likewise.\n\t(csqrt_test): Likewise.\n\t(erf_test): Likewise.\n\t(erfc_test): Likewise.\n\t(pow10_test): Likewise.\n\t(exp2_test): Likewise.\n\t(hypot_test): Likewise.\n\t(j0_test): Likewise.\n\t(j1_test): Likewise.\n\t(lgamma_test): Likewise.\n\t(gamma_test): Likewise.\n\t(sincos_test): Likewise.\n\t(tanh_test): Likewise.\n\t(y0_test): Likewise.\n\t(y1_test): Likewise.\n\t* sysdeps/i386/fpu/libm-test-ulps: Update.\n\t* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.","Joseph Myers",true]],"size":3,"ref":"refs/heads/master","head":"8c92dfff412c20dc0c483ea68444d093a5672de0"}