Incorrect identification of SIMD div support for integers
_mm512_div_epi64
, _mm512_div_epi32
, _mm512_div_epi16
and _mm512_div_epi8
are available under AVX512F but only activated in SVML mode in blaze-lib, and all of the corresponding epu
functions are not provided.
Similarly, _mm256_div_ep{i,u}{8,16,32,64} are available under __AVX__
, but not available at all.
In file: blaze/math/simd/Div.h
Comments (6)
-
-
-
assigned issue to
-
assigned issue to
-
- changed status to open
-
Daniel,
According to the Intel Intrinsics Guide
_mm512_div_epi64
,_mm512_div_epi32
,_mm512_div_epi16
, and_mm512_div_epi8
are only available in the SVML. The same is true for_mm256_div_epi64
,_mm256_div_epi32
,_mm256_div_epi16
, and_mm256_div_epi8
. Is there any proof and/or guarantee that these functions are available under AVX512F and AVX2?Best regards,
Klaus!
-
reporter Hi Klaus,
You’re right. It looks like I’m mistaken; I was looking at the
CPUID Flags: AVX512F
field rather than the color for the instructions.My apologies,
Daniel
-
reporter - changed status to resolved
I was mistaken; CPUID flags are necessary but not sufficient for integral div functions.
- Log in to comment
Hi Daniel!
Thanks a lot for pointing out this defect. We’ll take a look at this and provide a fix as quickly as possible. Thanks again,
Best regards,
Klaus!