| 1 |
/* PR target/93673 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2 -mavx512dq" } */ |
| 4 |
|
| 5 |
#include <x86intrin.h> |
| 6 |
|
| 7 |
void |
| 8 |
foo (__mmask8 *a) |
| 9 |
{ |
| 10 |
a[0] = _kshiftli_mask8 (a[0], 0); |
| 11 |
a[1] = _kshiftri_mask8 (a[1], 0); |
| 12 |
a[2] = _kshiftli_mask8 (a[2], 1); |
| 13 |
a[3] = _kshiftri_mask8 (a[3], 1); |
| 14 |
a[4] = _kshiftli_mask8 (a[4], 7); |
| 15 |
a[5] = _kshiftri_mask8 (a[5], 7); |
| 16 |
a[6] = _kshiftli_mask8 (a[6], 0x7f); |
| 17 |
a[7] = _kshiftri_mask8 (a[7], 0x7f); |
| 18 |
a[8] = _kshiftli_mask8 (a[8], 0xff); |
| 19 |
a[9] = _kshiftri_mask8 (a[9], 0xff); |
| 20 |
} |