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
[]) {
9 for (i
= 0; i
< n
; ++i
)
10 y
[i
] = y
[i
] - a
* x
[i
];