This is the mail archive of the libc-alpha@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]

[PATCH, AVX512, x86_64] AVX-512 support in glibc for x86_64


Hi!

Attached patch adds AVX512 (new Intel ISA extension, see e.g. http://software.intel.com/en-us/intel-isa-extensions?page=1&wapkw=software%20development%20manual%20avx512#pid-16007-1495 ) support in Glibc for x86_64. 

Tested successfully on AVX/non-AVX machines with/without AVX512-enabled compiler and assembler. New test was also checked under SDE successfully.

Is it ok for trunk?

Thanks,
Igor

Changelog:

2014-01-24  Igor Zamyatin  <igor.zamyatin@intel.com>
 
        * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
        * sysdeps/x86_64/configure: Regenerated.
        * sysdeps/x86_64/configure.ac: Set libc_cv_cc_avx512,
        HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
        * sysdeps/x86_64/Makefile: Add rules to build and run tst-audit9.
        * sysdeps/x86_64/tst-audit9.c: New file.
        * sysdeps/x86_64/tst-auditmod9a.c: New file.
        * sysdeps/x86_64/tst-auditmod9b.c: New file.
        * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add runtme check
        for AVX512. Refactor to add AVX512 support.
        * sysdeps/x86_64/dl-trampoline.S (_dl_x86_64_save_sse): Add support
        for AVX512.
        * sysdeps/x86_64/dl-trampoline.h: Refactor to accept different
        vector registers.
        * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
        * sysdeps/x86_64/link-defines.sym (ZMM_SIZE): New.
        * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F): New macro.
        * sysdeps/x86_64/multiarch/init-arch.h (bit_ZMM_state): Likewise.
        * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
        * config.h.in (HAVE_AVX512_ASM_SUPPORT): Likewise.

Attachment: glibc_avx512_trunk.patch
Description: glibc_avx512_trunk.patch


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