This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/20033] [x86_64] vectorized math function don't call the __finite versions


https://sourceware.org/bugzilla/show_bug.cgi?id=20033

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  533f9bebf969060e64c66681e275c03d6e49fcc9 (commit)
      from  f88aab5d508c13ae4a88124e65773d7d827cd47b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=533f9bebf969060e64c66681e275c03d6e49fcc9

commit 533f9bebf969060e64c66681e275c03d6e49fcc9
Author: Andrew Senkevich <andrew.senkevich@intel.com>
Date:   Tue Aug 2 16:35:25 2016 +0300

    x86_64: Call finite scalar versions in vectorized log, pow, exp (bz
#20033).

    Vector math functions require -ffast-math which sets -ffinite-math-only,
    so it is needed to call finite scalar versions (which are called from
    vector functions in some cases).

    Since finite version of pow() returns qNaN instead of 1.0 for several
    inputs, those inputs are excluded for tests of vector math functions.

        [BZ #20033]
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
        finite version.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
        * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
        * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
        * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
        * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
        * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
        * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
        * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
        in power zero.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   31 ++++++++++++++++++++
 math/libm-test.inc                                 |   12 +++++--
 .../x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S   |    4 +-
 .../x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S   |    4 +-
 .../x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S |    8 ++--
 .../x86_64/fpu/multiarch/svml_d_log2_core_sse4.S   |    4 +-
 .../x86_64/fpu/multiarch/svml_d_log4_core_avx2.S   |    4 +-
 .../x86_64/fpu/multiarch/svml_d_log8_core_avx512.S |    8 ++--
 .../x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S   |    4 +-
 .../x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S   |    4 +-
 .../x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S |    8 ++--
 .../fpu/multiarch/svml_s_expf16_core_avx512.S      |    8 ++--
 .../x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S  |    4 +-
 .../x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S  |    4 +-
 .../fpu/multiarch/svml_s_logf16_core_avx512.S      |    8 ++--
 .../x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S  |    4 +-
 .../x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S  |    4 +-
 .../fpu/multiarch/svml_s_powf16_core_avx512.S      |    8 ++--
 .../x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S  |    4 +-
 .../x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S  |    4 +-
 sysdeps/x86_64/fpu/svml_d_exp2_core.S              |    2 +-
 sysdeps/x86_64/fpu/svml_d_log2_core.S              |    2 +-
 sysdeps/x86_64/fpu/svml_d_pow2_core.S              |    2 +-
 sysdeps/x86_64/fpu/svml_s_expf4_core.S             |    2 +-
 sysdeps/x86_64/fpu/svml_s_logf4_core.S             |    2 +-
 sysdeps/x86_64/fpu/svml_s_powf4_core.S             |    2 +-
 26 files changed, 93 insertions(+), 58 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]