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

_m_to_int
ADD TO COMPARE ADDED TO COMPARE

 Intel 64-bit (64 bits)/ SSE4.2  View official documentation
 Location: Get-Set  >  Vector Get Single element
 CPU Extensions: MMX
Purpose:
Extract the lower 32-bit integer from a 64-bit MMX register and copy it to a CPU register or memory location. The upper 32 bits of the source MMX register are ignored and discarded.
Result:

int

Example:
#include <mmintrin.h>
#include <stdio.h>
int main() {
 __m64 a = _mm_set_pi32(123456789, 42);
 int r = _m_to_int(a);
 printf("%d\n", r);
 _mm_empty();

 return 0;
}

Prototypes

Assembly Instruction:
movd
Usage:
int result = _m_to_int( __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