-march=westmere for sse4_runtime targets.
* gcc.dg/vect/tree-vect.h (check_vect): Handle __SSE4_2__.
* gcc.dg/vect/vect-bool-cmp.c: Include "tree-vect.h".
+ (dg-additional-options): Use for sse4_runtime targets.
(main): Call check_vect ().
+ (dg-final): Perform scan only for sse4_runtime targets.
2016-06-23 H.J. Lu <hongjiu.lu@intel.com>
/* PR tree-optimization/71488 */
/* { dg-require-effective-target vect_int } */
/* { dg-require-effective-target vect_pack_trunc } */
-/* { dg-additional-options "-msse4" { target { i?86-*-* x86_64-*-* } } } */
+/* { dg-additional-options "-msse4" { target sse4_runtime } } */
#include "tree-vect.h"
check (res, ne);
}
-/* { dg-final { scan-tree-dump-times "VECTORIZED" 18 "vect" { target { i?86-*-* x86_64-*-* } } } } */
+/* { dg-final { scan-tree-dump-times "VECTORIZED" 18 "vect" { target sse4_runtime } } } */