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 middle-end/71488] [6/7 Regression] Wrong code for vector comparisons with ivybridge and westmere targets


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71488

--- Comment #11 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
Author: ienkovich
Date: Wed Jun 22 14:05:55 2016
New Revision: 237706

URL: https://gcc.gnu.org/viewcvs?rev=237706&root=gcc&view=rev
Log:
gcc/

        PR middle-end/71488
        * tree-vect-patterns.c (vect_recog_mask_conversion_pattern): Support
        comparison of boolean vectors.
        * tree-vect-stmts.c (vectorizable_comparison): Vectorize comparison
        of boolean vectors using bitwise operations.

gcc/testsuite/

        PR middle-end/71488
        * g++.dg/pr71488.C: New test.
        * gcc.dg/vect/vect-bool-cmp.c: New test.

Added:
    trunk/gcc/testsuite/g++.dg/pr71488.C
    trunk/gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-patterns.c
    trunk/gcc/tree-vect-stmts.c

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