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 string/19583] SSSE3_Fast_Copy_Backward flag needs to be enabled for AMD Excavator core


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

--- Comment #1 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  f781a9e96138d8839663af5e88649ab1fbed74f8 (commit)
      from  b87e41378beca3c98ec3464d64835e66cc788497 (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=f781a9e96138d8839663af5e88649ab1fbed74f8

commit f781a9e96138d8839663af5e88649ab1fbed74f8
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Mar 22 07:46:56 2016 -0700

    Set index_arch_AVX_Fast_Unaligned_Load only for Intel processors

    Since only Intel processors with AVX2 have fast unaligned load, we
    should set index_arch_AVX_Fast_Unaligned_Load only for Intel processors.

    Move AVX, AVX2, AVX512, FMA and FMA4 detection into get_common_indeces
    and call get_common_indeces for other processors.

    Add CPU_FEATURES_CPU_P and CPU_FEATURES_ARCH_P to aoid loading
    GLRO(dl_x86_cpu_features) in cpu-features.c.

        [BZ #19583]
        * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
        inline.  Check family before setting family, model and
        extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
        bits here.
        (init_cpu_features): Replace HAS_CPU_FEATURE and
        HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
        CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
        for Intel processors with usable AVX2.  Call get_common_indeces
        for other processors with family == NULL.
        * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
        (CPU_FEATURES_ARCH_P): Likewise.
        (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
        (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.

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

Summary of changes:
 ChangeLog                  |   17 +++++
 sysdeps/x86/cpu-features.c |  152 +++++++++++++++++++++++---------------------
 sysdeps/x86/cpu-features.h |   10 ++-
 3 files changed, 105 insertions(+), 74 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]