mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-30 15:18:36 +00:00
x86/intreadwrite: add SSE2 optimized AV_COPY128U
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
92b317245c
commit
9e7a93c6fd
@ -37,6 +37,13 @@ static av_always_inline void AV_COPY128(void *d, const void *s)
|
|||||||
_mm_store_si128((__m128i *)d, tmp);
|
_mm_store_si128((__m128i *)d, tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define AV_COPY128U AV_COPY128U
|
||||||
|
static av_always_inline void AV_COPY128U(void *d, const void *s)
|
||||||
|
{
|
||||||
|
__m128i tmp = _mm_loadu_si128((const __m128i *)s);
|
||||||
|
_mm_storeu_si128((__m128i *)d, tmp);
|
||||||
|
}
|
||||||
|
|
||||||
#define AV_ZERO128 AV_ZERO128
|
#define AV_ZERO128 AV_ZERO128
|
||||||
static av_always_inline void AV_ZERO128(void *d)
|
static av_always_inline void AV_ZERO128(void *d)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user