_mm256_permute2x128_si256

Permutes 128-bit integer data from the first source vector and the second source vector in the destination vector. The corresponding Intel® AVX2 instruction is VPERM2I128.

Syntax

extern __m256i _mm256_permute2x128_si256(__m256i a, __m256i b, int control);

Arguments

a

integer source vector

b

integer source vector

control

8-bit immediate used for the operation

Description

Permutes 128-bit integer data from source vector a and source vector b using bits in the 8-bit immediate and stores results in the destination vector.



Returns

Result of the permute operation.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.