- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it looks like the prototype for_mm256_i32gather_epi64 (AVX2) is wrong
it is defined as:
extern __m128i _mm256_i32gather_epi64(int const * base, __m256i vindex, const int scale);
but IMO it should be:
extern __m256i _mm256_i32gather_epi64(int const * base,__m128i vindex, const int scale);
seen with: Intel C++ Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.2.278 Build 20111
btw _mm256_mask_i32gather_epi64, __mm256_i64gather_epi64 and mm256_mask_i64gather_epi64 seem also wrong, maybemore gather intrinsics too?
update: the prototypes in "immintrin.h" look alright, only the documentation is wrong
it is defined as:
extern __m128i _mm256_i32gather_epi64(int const * base, __m256i vindex, const int scale);
but IMO it should be:
extern __m256i _mm256_i32gather_epi64(int const * base,__m128i vindex, const int scale);
seen with: Intel C++ Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.2.278 Build 20111
btw _mm256_mask_i32gather_epi64, __mm256_i64gather_epi64 and mm256_mask_i64gather_epi64 seem also wrong, maybemore gather intrinsics too?
update: the prototypes in "immintrin.h" look alright, only the documentation is wrong
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
that's correct. Our documentations around gather instructions are not consistent enough.
A defect was filed to fix those (and also to check for other inconsistencies): DPD200272778
Thank you very much & best regards,
Georg Zitzlsberger
that's correct. Our documentations around gather instructions are not consistent enough.
A defect was filed to fix those (and also to check for other inconsistencies): DPD200272778
Thank you very much & best regards,
Georg Zitzlsberger
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page