_mm512_min_pdADD TO COMPARE ADDED TO COMPARE
Intel 64-bit (64 bits)/ AVX512
View official documentation
View Félix Cloutier's documentation
Purpose:
Compare packed double-precision (64-bit) floating-point elements in "a" and "b", and store packed minimum values in "dst". [min_float_note]
Result:
__m512d
Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
__m512d a = _mm512_set_pd(5.5, 3.2, 8.7, 2.1, 4.9, 1.3, 7.8, 0.5);
__m512d b = _mm512_set_pd(2.2, 4.6, 3.3, 6.8, 5.1, 7.9, 0.2, 3.0);
__m512d r = _mm512_min_pd(a, b);
double* p = (double*)&r;
for (int i = 0; i < 8; i++) {
printf("%f ", p[i]);
}
return 0;
}
Prototypes
Assembly Instruction:
vminpd
Usage:
__m512d result =
_mm512_min_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 |