Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Nathan_Weeks
Beginner
82 Views

AVX2 intrinsic _mm256_blendv_epi8 documentation lists incorrect type for mask parameter

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
82 Views

Hello Nathan,

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

Patrick

pbkenned1
Employee
82 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

Reply