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

_mm512_mul_pd
ADD TO COMPARE ADDED TO COMPARE

 Location: Arithmetic  >  Vector Multiply
 CPU Extensions: AVX512F
Purpose:
Multiply packed double-precision (64-bit) floating-point elements in "a" and "b", and store the results in "dst".
Result:

__m512d

Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
 __m512d a = _mm512_set_pd(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0);
 __m512d b = _mm512_set_pd(2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
 __m512d r = _mm512_mul_pd(a, b);
 double* res = (double*)&r;
 for (int i = 0; i < 8; ++i)
  printf("%f ", res[i]);

  return 0;
 }

Prototypes

Assembly Instruction:
vmulpd
Usage:
__m512d result = _mm512_mul_pd( __m512d a, __m512d 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