gcc/testsuite/gcc.dg/vect/pr93094.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-O3 -fno-tree-pre" } */ |
| 3 | /* { dg-additional-options "-mavx512bw" { target x86_64-*-* i?86-*-* } } */ |
| 4 | |
| 5 | void |
| 6 | ll (char *un, char *rr, int te, int fp, int nb) |
| 7 | { |
| 8 | const int xe = nb & 1; |
| 9 | |
| 10 | while (fp-- != 0) |
| 11 | { |
| 12 | if ((rr[0] & xe) == 0) |
| 13 | un[0] = 0; |
| 14 | |
| 15 | un += te; |
| 16 | rr += te; |
| 17 | } |
| 18 | } |