_mm256_unpacklo_epi8/16/32/64

Unpacks and interleaves the low-order data elements of the source vector with the low-order data elements in the destination vector. The corresponding Intel® AVX 2 instructions are VPUNPCKLBW, VPUNPCKLWD, VPUNPCKLDQ, and VPUNPCKLQDQ

Syntax

extern __m256i _mm256_unpacklo_epi8(__m256i a, __m256i b);

extern __m256i _mm256_unpacklo_epi16(__m256i a, __m256i b);

extern __m256i _mm256_unpacklo_epi32(__m256i a, __m256i b);

extern __m256i _mm256_unpacklo_epi64(__m256i a, __m256i b);

Arguments

a

integer source vector used for the operation

b

integer source vector used for the operation

Description

Unpacks and interleaves the high-order signed or unsigned data elements (bytes, words, doublewords, and quadwords) of the source vector and the high-order signed or unsigned data elements (bytes, words, doublewords, and quadwords) in the destination operand. The high-order data elements are ignored.

Returns

Result of the interleave operation


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.