Debian Codegraph @

gcc/testsuite/gcc.target/arm/neon-vmls-1.c

raw
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" } } */
5
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];
11 }