| 1 |
/* PR target/94561 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-mavx512f -O3 -funroll-loops" } */ |
| 4 |
|
| 5 |
struct xi { |
| 6 |
long int mg; |
| 7 |
int lx; |
| 8 |
}; |
| 9 |
|
| 10 |
struct xi *di; |
| 11 |
int *eu; |
| 12 |
|
| 13 |
void |
| 14 |
he (void); |
| 15 |
|
| 16 |
int |
| 17 |
m8 (int we, int i8) |
| 18 |
{ |
| 19 |
int wd, cj = 0; |
| 20 |
|
| 21 |
for (wd = 0; wd < 80; ++wd) |
| 22 |
{ |
| 23 |
if (di->mg == 0 && (eu[wd] | !!we) == 0 && di->lx == 0) |
| 24 |
continue; |
| 25 |
|
| 26 |
if (i8 == 0) |
| 27 |
he (); |
| 28 |
|
| 29 |
++cj; |
| 30 |
} |
| 31 |
|
| 32 |
return cj; |
| 33 |
} |
| 34 |
|
| 35 |
/* { dg-final { scan-assembler-not "vmov\[^\n\r]*%\[xy\]mm1\[6-9\].*" } } */ |
| 36 |
/* { dg-final { scan-assembler-not "vmov\[^\n\r]*%\[xy\]mm\[23\]\[0-9\].*" } } */ |