_mm_permute_pdADD TO COMPARE ADDED TO COMPARE
Intel 64-bit (64 bits)/ AVX2
View official documentation
View Félix Cloutier's documentation
Purpose:
Shuffle double-precision (64-bit) floating-point elements in a using the control in c, and store the results in output.
Result:
__m128d
Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
__m128d a = _mm_set_pd(2.0, 1.0);
__m128d r = _mm_permute_pd(a, 0b01);
double *res = (double*)&r;
printf("%f %f\n", res[0], res[1]);
return 0;
}
Prototypes
Assembly Instruction:
vpermilpd
Usage:
__m128d result =
_mm_permute_pd(
__m128d a, int b
)
Performance Metrics:
📊 Unlock Performance Insights
Get access to detailed performance metrics including latency, throughput, and CPU-specific benchmarks for this intrinsic.
SIMD Intrinsics Summary
| SIMD Engines: | 6 |
| C Intrinsics: | 10444 |
| NEON: | 4353 |
| AVX2: | 405 |
| AVX512: | 4717 |
| SSE4.2: | 598 |
| VSX: | 192 |
| IBM-Z: | 179 |