1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

swresample/resample: add missing xmm clobbers

Might fix fate-swr on ICL

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
James Almer
2014-05-06 20:10:14 -03:00
committed by Michael Niedermayer
parent d68ed9f257
commit 4cdea92976

View File

@@ -101,6 +101,7 @@ __asm__ volatile(\
"r" (((uint8_t*)filter)-len),\ "r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\ "r" (dst+dst_index)\
NAMED_CONSTRAINTS_ADD(ff_resample_int16_rounder)\ NAMED_CONSTRAINTS_ADD(ff_resample_int16_rounder)\
XMM_CLOBBERS_ONLY("%xmm0", "%xmm1")\
); );
#define LINEAR_CORE_INT16_SSE2 \ #define LINEAR_CORE_INT16_SSE2 \
@@ -156,6 +157,7 @@ __asm__ volatile(\
: "r" (((uint8_t*)(src+sample_index))-len),\ : "r" (((uint8_t*)(src+sample_index))-len),\
"r" (((uint8_t*)filter)-len),\ "r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\ "r" (dst+dst_index)\
XMM_CLOBBERS_ONLY("%xmm0", "%xmm1")\
); );
#define LINEAR_CORE_FLT_SSE \ #define LINEAR_CORE_FLT_SSE \
@@ -210,6 +212,7 @@ __asm__ volatile(\
: "r" (((uint8_t*)(src+sample_index))-len),\ : "r" (((uint8_t*)(src+sample_index))-len),\
"r" (((uint8_t*)filter)-len),\ "r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\ "r" (dst+dst_index)\
XMM_CLOBBERS_ONLY("%xmm0", "%xmm1")\
); );
#define LINEAR_CORE_DBL_SSE2 \ #define LINEAR_CORE_DBL_SSE2 \