PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / neon-vmls-1.c
blob89ee82b0fe81093722bbefd7fa1d410cceeb0ee1
1 /* { dg-require-effective-target arm_neon_hw } */
2 /* { dg-options "-O2 -ftree-vectorize -ffast-math" } */
3 /* { dg-add-options arm_neon } */
4 /* { dg-final { scan-assembler "vmls\\.i32" } } */
6 /* Verify that VMLS is used. */
7 void f1(int n, int a, int x[], int y[]) {
8 int i;
9 for (i = 0; i < n; ++i)
10 y[i] = y[i] - a * x[i];