Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.target/i386/avx512f-pr93673.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 /* PR target/93673 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2 -mavx512f" } */ | |
4 | |
5 #include <x86intrin.h> | |
6 | |
7 void | |
8 foo (__mmask16 *b) | |
9 { | |
10 b[0] = _kshiftli_mask16 (b[0], 0); | |
11 b[1] = _kshiftri_mask16 (b[1], 0); | |
12 b[2] = _kshiftli_mask16 (b[2], 1); | |
13 b[3] = _kshiftri_mask16 (b[3], 1); | |
14 b[4] = _kshiftli_mask16 (b[4], 15); | |
15 b[5] = _kshiftri_mask16 (b[5], 15); | |
16 b[6] = _kshiftli_mask16 (b[6], 0x7f); | |
17 b[7] = _kshiftri_mask16 (b[7], 0x7f); | |
18 b[8] = _kshiftli_mask16 (b[8], 0xff); | |
19 b[9] = _kshiftri_mask16 (b[9], 0xff); | |
20 } |