HomePhabricator

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

Description

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

Ensure _mm256_extract_epi8 and _mm256_extract_epi16 zero extend their i8/i16 result to i32. This matches _mm_extract_epi8 and _mm_extract_epi16.

Fix for PR27594

Differential Revision: http://reviews.llvm.org/D20468

Details

Committed
RKSimonMay 21 2016, 2:14 PM
Differential Revision
D20468: [X86][AVX] Ensure zero-extension of _mm256_extract_epi8 and _mm256_extract_epi16
Branches
Unknown
Tags
Unknown