[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / p9-vec-length-full-2.c
blob98abf8b33b1cf914ac24bf2b0cad5aa6fdcde3ee
1 /* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */
2 /* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops" } */
4 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
6 /* Test for fully with length, the loop body uses vector access with length,
7 there should not be any epilogues. */
9 #include "p9-vec-length-2.h"
11 /* { dg-final { scan-assembler-not {\mlxv\M} } } */
12 /* { dg-final { scan-assembler-not {\mstxv\M} } } */
13 /* { dg-final { scan-assembler-not {\mlxvx\M} } } */
14 /* { dg-final { scan-assembler-not {\mstxvx\M} } } */
15 /* { dg-final { scan-assembler-times {\mlxvl\M} 20 } } */
16 /* { dg-final { scan-assembler-times {\mstxvl\M} 10 } } */