_mm256_permute2f128_si256

Permutes 128-bit integer containing fields into a 256-bit destination vector. The corresponding Intel® AVX instruction is VPERM2F128.

Syntax

extern __m256i _mm256_permute2f128_si256(__m256i m1, __m256i m2, int control);

Arguments

m1

a 256-bit integer source vector

m2

a 256-bit integer source vector

control

an immediate byte that specifies two 2-bit control fields and two additional bits which specify zeroing behavior.

Description

Permutes 128-bit integer-containing fields from the first source vector, m1, and second source vector, m2, by using bits in the 8-bit control argument.

Returns

A 256-bit integer vector with permuted values.


Submit feedback on this help topic

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