This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 c/59084] Sub-optimal vector moves in AVX2 vectorized loop for unaligned loads.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59084

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Tue Nov 12 13:26:51 2013
New Revision: 204700

URL: http://gcc.gnu.org/viewcvs?rev=204700&root=gcc&view=rev
Log:
Properly handle AVX256 unaligned load and store

    PR target/59084
    * config/i386/i386.c (ix86_option_override_internal): Check
    X86_TUNE_AVX256_UNALIGNED_LOAD_OPTIMAL and
    X86_TUNE_AVX256_UNALIGNED_STORE_OPTIMAL for
    MASK_AVX256_SPLIT_UNALIGNED_LOAD and
    MASK_AVX256_SPLIT_UNALIGNED_STORE.

    * config/i386/x86-tune.def (X86_TUNE_AVX256_UNALIGNED_LOAD_OPTIMAL):
    Clear m_COREI7_AVX and update comments.
    (X86_TUNE_AVX256_UNALIGNED_STORE_OPTIMAL): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/x86-tune.def


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