_mm512_permute_pdADD TO COMPARE ADDED TO COMPARE
Intel 64-bit (64 bits)/ AVX512
View official documentation
View Félix Cloutier's documentation
Purpose:
Shuffle double-precision (64-bit) floating-point elements in "a" within 128-bit lanes using the control in "imm8", and store the results in "dst".
Result:
__m512d
Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
__m512d a = _mm512_setr_pd(1,2,3,4,5,6,7,8);
__m512d r = _mm512_permute_pd(a, 0b10101010);
double out[8];
_mm512_storeu_pd(out, r);
for (int i = 0; i < 8; i++)
printf("%f\n", out[i]);
}
Prototypes
Assembly Instruction:
vpermilpd
Usage:
__m512d result =
_mm512_permute_pd(
__m512d a, const 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 |