openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-layout-18.c
blobebbf9d2da7ca61f6b611c8a334cc426c50af4cd2
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3 /* { dg-additional-options "-w -Wno-psabi -ffast-math" } */
5 typedef float v4sf __attribute__((vector_size(sizeof(float)*4)));
7 float __attribute__((noipa))
8 f(v4sf v0, v4sf v1)
10 return v0[0]*v1[0]+v0[1]*v1[1]+v0[2]*v1[2]+v0[3]*v1[3];
13 /* We are lacking an effective target for .REDUC_PLUS support. */
14 /* { dg-final { scan-tree-dump-times "basic block part vectorized" 1 "slp2" { target x86_64-*-* aarch64*-*-* } } } */
15 /* { dg-final { scan-tree-dump-not " = VEC_PERM_EXPR" "slp2" { target x86_64-*-* aarch64*-*-* } } } */