1 /* { dg-require-effective-target vect_int } */
9 void main1 (signed char x
, signed char max_result
, signed char min_result
)
12 signed char b
[N
] = {1,2,3,6,8,10,12,14,16,18,20,22,24,26,28,30};
13 signed char c
[N
] = {1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
18 for (i
= 0; i
< N
; i
++) {
19 diff
+= (signed char)(b
[i
] - c
[i
]);
22 for (i
= 0; i
< N
; i
++) {
23 max
= max
< c
[i
] ? c
[i
] : max
;
26 for (i
= 0; i
< N
; i
++) {
27 min
= min
> c
[i
] ? c
[i
] : min
;
33 if (max
!= max_result
)
35 if (min
!= min_result
)
48 /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */
49 /* { dg-final { cleanup-tree-dump "vect" } } */