1 /* { dg-do compile } */ 2 /* { dg-require-effective-target arm_neonv2_ok } */ 3 /* { dg-options "-O2 -ftree-vectorize -ffast-math" } */ 4 /* { dg-add-options arm_neonv2 } */ 5 /* { dg-final { scan-assembler "vfms\\.f32\[ \]+\[dDqQ]" } } */ 6 7 /* Verify that VFMS is used. */ f1(int n,float a,float x[],float y[])8void f1(int n, float a, float x[], float y[]) { 9 int i; 10 for (i = 0; i < n; ++i) 11 y[i] = a * -x[i] + y[i]; 12 } 13