1 /* This file is distributed under the University of Illinois Open Source
2 License. See license.txt for details. */
4 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
5 /* { dg-require-effective-target vect_float } */
9 real_t
s122(struct args_t
* func_args
)
11 // induction variable recognition
12 // variable lower and upper bound, and stride
13 // reverse data access and jump in data access
15 struct{int a
;int b
;} * x
= func_args
->arg_info
;
19 initialise_arrays(__func__
);
22 for (int nl
= 0; nl
< iterations
; nl
++) {
25 for (int i
= n1
-1; i
< LEN_1D
; i
+= n3
) {
27 a
[i
] += b
[LEN_1D
- k
];
29 dummy(a
, b
, c
, d
, e
, aa
, bb
, cc
, 0.);
32 return calc_checksum(__func__
);
35 int main (int argc
, char **argv
)
43 run(&s122
, "s122", &(struct{int a
;int b
;}){n1
, n3
});
48 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail *-*-* } } } */