Visible to Intel only — GUID: GUID-A7287EDB-3697-4FD6-9EAB-6ADC1EF31E86
Visible to Intel only — GUID: GUID-A7287EDB-3697-4FD6-9EAB-6ADC1EF31E86
_mm256_permute_pd, _mm_permute_pd
Permutes 256-bit or 128-bit float64 values into a 256-bit or 128-bit destination vector. The corresponding Intel® AVX instruction is VPERMILPD.
Syntax
extern __m256d _mm256_permute_pd(__m256d m1, int control); |
extern __m128d _mm_permute_pd(__m128d m1, int control); |
Arguments
m1 |
a 256-bit or 128-bit float64 vector |
control |
an integer specified as an 8-bit immediate;
|
Description
The _mm256_permute_pd intrinsic permutes double-precision floating point elements (float64 elements) in the 256-bit source vector m1, according to a specified 1-bit control field, control, and stores the result in a destination vector.
The _mm_permute_pd intrinsic permutes double-precision floating point elements (float64 elements) in the 128-bit source vector m1, according to a specified 1-bit control field, control, and stores the result in a destination vector.
Returns
A 256-bit or 128-bit float64 vector with permuted values.