2 /* { dg-do compile } */
3 /* { dg-options "-O2 -ftree-vectorize -ffp-contract=off -mtune=xgene1" } */
5 /* Check that vector FMLS is not generated when contraction is disabled. */
8 foo (float *__restrict__
__attribute__ ((aligned (16))) a
,
9 float *__restrict__
__attribute__ ((aligned (16))) x
,
10 float *__restrict__
__attribute__ ((aligned (16))) y
,
11 float *__restrict__
__attribute__ ((aligned (16))) z
)
14 for (i
= 0; i
< 256; i
++)
15 a
[i
] = x
[i
] - (y
[i
] * z
[i
]);
18 /* { dg-final { scan-assembler-not "fmls\tv.*" } } */