blob: a4cc7aafaebb2ff8f38114fe4f5d5a64f19ec454 [file] [log] [blame]
/* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */
/* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
/* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
/* Test for fully with length, the loop body uses vector access with length,
there should not be any epilogues. */
#include "p9-vec-length-4.h"
/* It can use normal vector load for constant vector load. */
/* { dg-final { scan-assembler-not {\mstxv\M} } } */
/* { dg-final { scan-assembler-not {\mlxvx\M} } } */
/* { dg-final { scan-assembler-not {\mstxvx\M} } } */
/* { dg-final { scan-assembler-times {\mlxvl\M} 70 } } */
/* { dg-final { scan-assembler-times {\mstxvl\M} 70 } } */