aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer2014-05-06 20:10:14 -0300
committerMichael Niedermayer2014-05-07 01:32:40 +0200
commit4cdea92976793c79121297a4b887f31b5eebb92a (patch)
tree00548a3650973cc3e7e0e9f7eac51ddefe653755
parentd68ed9f257bd9e76c6d615e03ba135a3df673712 (diff)
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>
-rw-r--r--libswresample/x86/resample_mmx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libswresample/x86/resample_mmx.h b/libswresample/x86/resample_mmx.h
index 1d47266097..06f8da66e1 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 \