libstdc++: Move gcc.gnu.org and sourceware.org links to https
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vfms-1.c
blob8cefd8a851ce25694c95e195c0c7f1dce7e92f8c
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]" } } */
7 /* Verify that VFMS is used. */
8 void 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];