1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-mdejagnu-cpu=power7 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fdump-tree-vect-details" } */
5 /* Test if unsigned int unpack vectorization succeeds. V2DImode is
6 supported since Power7 so guard it under Power7 and up. */
8 #include "unpack-vectorize-2.h"
10 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
11 /* { dg-final { scan-assembler-times {\mxxmrghw\M} 1 } } */
12 /* { dg-final { scan-assembler-times {\mxxmrglw\M} 1 } } */