[FFmpeg-cvslog] swresample/resample: add missing xmm clobbers
James Almer
git at videolan.org
Wed May 7 01:40:47 CEST 2014
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue May 6 20:10:14 2014 -0300| [4cdea92976793c79121297a4b887f31b5eebb92a] | committer: Michael Niedermayer
swresample/resample: add missing xmm clobbers
Might fix fate-swr on ICL
Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4cdea92976793c79121297a4b887f31b5eebb92a
---
libswresample/x86/resample_mmx.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libswresample/x86/resample_mmx.h b/libswresample/x86/resample_mmx.h
index 1d47266..06f8da6 100644
--- a/libswresample/x86/resample_mmx.h
+++ b/libswresample/x86/resample_mmx.h
@@ -101,6 +101,7 @@ __asm__ volatile(\
"r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\
NAMED_CONSTRAINTS_ADD(ff_resample_int16_rounder)\
+ XMM_CLOBBERS_ONLY("%xmm0", "%xmm1")\
);
#define LINEAR_CORE_INT16_SSE2 \
@@ -156,6 +157,7 @@ __asm__ volatile(\
: "r" (((uint8_t*)(src+sample_index))-len),\
"r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\
+ XMM_CLOBBERS_ONLY("%xmm0", "%xmm1")\
);
#define LINEAR_CORE_FLT_SSE \
@@ -210,6 +212,7 @@ __asm__ volatile(\
: "r" (((uint8_t*)(src+sample_index))-len),\
"r" (((uint8_t*)filter)-len),\
"r" (dst+dst_index)\
+ XMM_CLOBBERS_ONLY("%xmm0", "%xmm1")\
);
#define LINEAR_CORE_DBL_SSE2 \
More information about the ffmpeg-cvslog
mailing list