_mm_extract_epi64ADD TO COMPARE ADDED TO COMPARE
Intel 64-bit (64 bits)/ SSE4.2
View official documentation
Purpose:
Extract a 64-bit integer from a, selected with c, and store the result in output.
Result:
int64_t
Example:
#include <smmintrin.h>
#include <stdio.h>
int main() {
__m128i a = _mm_set_epi64x(2000, 1000);
long long result = _mm_extract_epi64(a, 1);
printf("%lld\n", result);
return 0;
}
Prototypes
Assembly Instruction:
pextrq
Usage:
int64_t result =
_mm_extract_epi64(
__m128i 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 |