Please enter what you're looking for to continue your search
 

_mm512_permutex_pd
ADD TO COMPARE ADDED TO COMPARE

 Location: Shuffle-Permute  >  Vector Permute Fixed-index
 CPU Extensions: AVX512F
Purpose:
Shuffle double-precision (64-bit) floating-point elements in "a" within 256-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_permutex_pd(a, 0b00011011);
 double out[8];
 _mm512_storeu_pd(out, r);
 for (int i = 0; i < 8; i++)
  printf("%f\n", out[i]);
 }

Prototypes

Assembly Instruction:
vpermpd
Usage:
__m512d result = _mm512_permutex_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