Permutes float32 values into a 256-bit or 128-bit destination vector. The corresponding Intel® AVX instruction is VPERMILPS.
extern __m256 _mm256_permutevar_ps(__m256 m1, __m256i control); |
extern __m128 _mm_permutevar_ps(__m128 m1, __m128i control); |
m1 |
a 256-bit or 128-bit float32 vector |
control |
a vector with 2-bit control fields, one for each corresponding element of the source vector
|
Permutes single-precision floating-point values in the source vector, m1, according to the the 2-bit control fields in the low bytes of corresponding elements of a shuffle control. The result is stored in a destination vector.
Copyright © 1996-2011, Intel Corporation. All rights reserved.