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

_mm_cmpgt_pd
ADD TO COMPARE ADDED TO COMPARE

Purpose:
Compare packed double-precision (64-bit) floating-point elements in a and b for greater-than, and store the results in dst.
Result:

__m128d

Example:
#include <emmintrin.h>
#include <stdio.h>
int main() {
 __m128d a = _mm_set_pd(3.5, 2.5);
 __m128d b = _mm_set_pd(3.0, 3.5);
 __m128d result = _mm_cmpgt_pd(a, b);
 long long* res = (long long*)&result;
 printf("Result: [0x%llx, 0x%llx]\n", res[1], res[0]);

 return 0;
}

Prototypes

Assembly Instruction:
cmppd
Usage:
__m128d result = _mm_cmpgt_pd( __m128d a, __m128d 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