Visible to Intel only — GUID: GUID-843CF571-A0F4-49B3-BB71-E33DF4DBEEA6
Visible to Intel only — GUID: GUID-843CF571-A0F4-49B3-BB71-E33DF4DBEEA6
_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.
![](/content/dam/docs/us/en/developer-guide-reference/2021-10/93194086-9BE5-40FE-89D8-3A3B9EAAAB4E-low.jpg)
Returns
Result of the permute operation.