1 /* { dg-do compile } */
2 /* { dg-options "-O0 -mavx2" } */
6 __m128i i1
, i2
, i3
, i4
;
7 __m256i l1
, l2
, l3
, l4
;
8 __m256d e1
, e2
, e3
, e4
;
13 l1
= _mm256_mpsadbw_epu8 (l2
, l3
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
14 l1
= _mm256_alignr_epi8 (l2
, l3
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
15 i1
= _mm_blend_epi32 (i1
, i1
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
16 l1
= _mm256_blend_epi32 (l2
, l3
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
17 l1
= _mm256_blend_epi16(l2
, l3
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
18 l1
= _mm256_permute2x128_si256 (l2
, l3
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
19 e1
= _mm256_permute4x64_pd (e2
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
20 l1
= _mm256_permute4x64_epi64 (l2
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
21 l1
= _mm256_shuffle_epi32 (l2
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
22 l1
= _mm256_shufflehi_epi16 (l2
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
23 l1
= _mm256_shufflelo_epi16 (l2
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
24 l1
= _mm256_slli_si256 (l2
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
25 l1
= _mm256_srli_si256 (l2
, 256); /* { dg-error "the last argument must be an 8-bit immediate" } */
31 i1
= _mm256_extracti128_si256 (l1
, 2); /* { dg-error "the last argument must be an 1-bit immediate" } */
32 l1
= _mm256_inserti128_si256 (l1
, i2
, 2); /* { dg-error "the last argument must be an 1-bit immediate" } */