arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-75.c
blob1abac136f726f633b02a50f60110b871b8674fbf
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3 /* { dg-additional-options "-ffast-math" } */
4 /* { dg-additional-options "-msse2 -mfpmath=sse" { target { x86_64-*-* i?86-*-* } } } */
6 float x[4];
8 float test1 (float a)
10 return x[0] + x[2] + x[1] + x[3] + a;
13 float test2 (void)
15 return x[3] + x[2] + x[1] + 1.f + x[0];
18 float test3 (float a)
20 return x[0] + a + x[2] + x[1] + x[3] + 1.f;
23 /* We currently require a .REDUC_PLUS direct internal function but do not
24 have a dejagnu target for this. */
25 /* { dg-final { scan-tree-dump-times "Basic block will be vectorized using SLP" 3 "slp2" { target { x86_64-*-* i?86-*-* } } } } */