1 /* { dg-do compile } */
2 /* { dg-require-effective-target power10_ok } */
3 /* { dg-options "-mdejagnu-cpu=power10 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fdump-tree-vect-details" } */
4
5 /* Test if signed/unsigned int extended divisions get vectorized. */
6
7 #include "dive-vectorize-1.h"
8
9 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
10 /* { dg-final { scan-assembler-times {\mvdivesw\M} 1 } } */
11 /* { dg-final { scan-assembler-times {\mvdiveuw\M} 1 } } */