Visible to Intel only — GUID: GUID-386202DA-A5FF-46C1-85CF-8CAB60DE469E
Visible to Intel only — GUID: GUID-386202DA-A5FF-46C1-85CF-8CAB60DE469E
_mm256_permutevar_pd, _mm_permutevar_pd
Permutes float64 values into a 256-bit or 128-bit destination vector. The corresponding Intel® AVX instruction is VPERMILPD.
Syntax
extern __m256d _mm256_permutevar_pd(__m256d m1, __m256i control); |
extern __m128d _mm_permutevar_pd(__m128d m1, __m128i control); |
Arguments
m1 |
a 256-bit or 128-bit float64 vector |
control |
a vector with 1-bit control fields, one for each corresponding element of the source vector
|
Description
Permutes double-precision floating-point values in the source vector, m1, according to the the 1-bit control fields in the low bytes of corresponding elements of a shuffle control. The result is stored in a destination vector.
Returns
A 256-bit or 128-bit float64 vector with permuted values.