[committed] [RISC-V] Skip zbs-ext-2.c for -Oz as well
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vfma-1.c
bloba003a8274f617d271dca143f65b0e7c612f04f65
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 "vfma\\.f32\[ \]+\[dDqQ]" } } */
7 /* Verify that VFMA 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];