Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

AVX2 intrinsic _mm256_blendv_epi8 documentation lists incorrect type for mask parameter

Nathan_Weeks
Beginner
465 Views

In the User and Reference Guide for the Intel® C++ Compiler 15.0; the prototype for _mm256_blendv_epi8 is listed as having a const int mask argument:

https://software.intel.com/en-us/node/523908

extern __m256i _mm256_blendv_epi8(__m256i s1, __m256i s2, const int mask);

However, the prototype in immintrin.h lists the mask parameter as being of type __mm256i:

extern __m256i __ICL_INTRINCC _mm256_blendv_epi8(__m256i, __m256i, __m256i);
0 Kudos
2 Replies
pbkenned1
Employee
465 Views

Hello Nathan,

Thanks for reporting this.  We'll investigate and follow up.

Patrick

0 Kudos
pbkenned1
Employee
465 Views

I submitted a documentation bug report against the User and Reference Guide for the Intel® C++ Compiler 15.0 stating that the syntax for _mm256_blendv_epi8 should be:

extern __m256i _mm256_blendv_epi8(__m256i s1, __m256i s2,  __m256i vmask);

I'll keep this thread updated with any news.

Patrick

0 Kudos
Reply