_m_to_int64ADD TO COMPARE ADDED TO COMPARE
Intel 64-bit (64 bits)/ SSE4.2
View official documentation
Purpose:
Copy the entire 64-bit content from an MMX register to a 64-bit integer in CPU register or memory. Unlike the 32-bit version, this intrinsic preserves all 64 bits of data, transferring both upper and lower 32-bit portions from the MMX register.
Result:
int64_t
Example:
#include <mmintrin.h>
#include <stdio.h>
int main() {
__m64 a = _mm_set_pi32(123456, 42);
__int64 r = _m_to_int64(a);
printf("%lld\n", r);
_mm_empty();
return 0;
}
Prototypes
Assembly Instruction:
movq
Usage:
int64_t result =
_m_to_int64(
__m64 a
)
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 |