1 /* { dg-do compile } */
2 /* { dg-add-options vect_early_break } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
5 /* { dg-additional-options "-O3" } */
6 /* { dg-additional-options "-mavx2" { target { x86_64-*-* i?86-*-* } } } */
8 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
10 typedef struct filter_list_entry
{
16 static const filter_list_entry filter_list
[9] = {0};
18 void php_zval_filter(int filter
, int id1
) {
19 filter_list_entry filter_func
;
22 for (int i
= 0; i
< size
; ++i
) {
23 if (filter_list
[i
].id
== filter
) {
24 filter_func
= filter_list
[i
];
30 for (int i
= 0; i
< size
; ++i
) {
31 if (filter_list
[i
].id
== 0x0204) {
32 filter_func
= filter_list
[i
];
38 filter_func
.function();