SIMD/Intel Instrinsic

_mm_lddqu_si128(), _mm_loadl_epi64()

김뿡한 2015. 1. 13. 14:46
Intrinsics Guide



__m128i _mm_lddqu_si128 (__m128i const* mem_addr)

Synopsis

__m128i _mm_lddqu_si128 (__m128i const* mem_addr)
#include "pmmintrin.h"
Instruction: lddqu xmm, m128
CPUID Flags: SSE3

Description

Load 128-bits of integer data from unaligned memory into dst. This intrinsic may perform better than _mm_loadu_si128 when the data crosses a cache line boundary.

Operation

dst[127:0] := MEM[mem_addr+127:mem_addr]

__m128i _mm_loadl_epi64 (__m128i const* mem_addr)

Synopsis

__m128i _mm_loadl_epi64 (__m128i const* mem_addr)
#include "emmintrin.h"
Instruction: movq xmm, m64
CPUID Flags: SSE2

Description

Load 64-bit integer from memory into the first element of dst.

Operation

dst[63:0] := MEM[mem_addr+63:mem_addr] dst[MAX:64] := 0