summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/sve_speculative_13.c
blob: ecd7e258161279f172618a26ae33c32c6d4f8ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O3 -fno-common -ffast-math -march=armv8-a+sve -fdump-tree-vect-details -msve-vector-bits=256" } */

/* Speculative loop with two loads from global buffers which can be aligned
   without any peeling, and an access stride of 3.  */

#define STRIDE_LEVEL 3

#include "sve_speculative_11.c"

/* { dg-final { scan-tree-dump-times "unknown alignment, setting loop as first faulting" 20 "vect" } } */
/* { dg-final { scan-tree-dump-times "Not allowing first faulting" 10 "vect" } } */
/* { dg-final { scan-tree-dump-not "LOOP VECTORIZED" "vect" } } */