21 #ifndef AVUTIL_X86_INTREADWRITE_H
22 #define AVUTIL_X86_INTREADWRITE_H
26 #if HAVE_INTRINSICS_SSE2 && defined(__SSE2__)
27 #include <emmintrin.h>
31 #if HAVE_INTRINSICS_SSE2 && defined(__SSE2__)
33 #define AV_COPY128 AV_COPY128
36 __m128i
tmp = _mm_load_si128((
const __m128i *)
s);
37 _mm_store_si128((__m128i *)d,
tmp);
40 #define AV_COPY128U AV_COPY128U
43 __m128i
tmp = _mm_loadu_si128((
const __m128i *)
s);
44 _mm_storeu_si128((__m128i *)d,
tmp);
47 #define AV_ZERO128 AV_ZERO128
50 __m128i
zero = _mm_setzero_si128();
51 _mm_store_si128((__m128i *)d,
zero);