[PATCH] D20468: [X86][AVX] Ensure zero-extension of _mm256_extract_epi8 and _mm256_extract_epi16

Michael Kuperstein via cfe-commits cfe-commits at lists.llvm.org
Fri May 20 08:00:21 PDT 2016


mkuper added a comment.

Could you point me to where in the documentation it says they must be zero-extended?
The Intel intrinsics guide actually has them with shorter return types:

  __int8 _mm256_extract_epi8 (__m256i a, const int index)
  __int16 _mm256_extract_epi16 (__m256i a, const int index)


Repository:
  rL LLVM

http://reviews.llvm.org/D20468





More information about the cfe-commits mailing list