http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47840
Summary: incorrect _mm256_insert_epi{32,64} implementations Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: kr...@kde.org see avxintrin.h: _mm256_insert_epi32 and _mm256_insert_epi64 use _mm_insert_epi16 internally if __OPTIMIZE__ is not defined they use _mm_insert_epi32/64 internally - as I would have expected. I also checked 4.5 and 4.4, and it seems the bug was not noticed in any branch yet.