re PR tree-optimization/71488 (Wrong code for vector comparisons with ivybridge and...
authorIlya Enkovich <ilya.enkovich@intel.com>
Wed, 22 Jun 2016 14:05:55 +0000 (14:05 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Wed, 22 Jun 2016 14:05:55 +0000 (14:05 +0000)
commit49e76ff114c94634f01ec0e2406b9ece7d58ce2d
treec1a0b13225e17bbb58b4370baf22278fd1c0ffec
parent79c94ff7965fe8b8615b77fbaacdce73c0f37b4a
re PR tree-optimization/71488 (Wrong code for vector comparisons with ivybridge and westmere targets)

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.

From-SVN: r237706
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr71488.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-bool-cmp.c [new file with mode: 0644]
gcc/tree-vect-patterns.c
gcc/tree-vect-stmts.c