aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-15 22:52:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-18 18:26:01 +0100
commit8c8db86c0de634ed2c96f1f6a159d5e240f39d7f (patch)
tree261b8403a383cd04cb118965f88a52535c944b44
parent44799d269fd0c5fc3436987df8af58551e62a7ac (diff)
downloadffmpeg-8c8db86c0de634ed2c96f1f6a159d5e240f39d7f.tar.gz
swscale/x86/swscale: fix missing xmm clobbers in yuv2yuvX_sse3()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6c47a4e972485e5f0c812159373f703c6f1d089f) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libswscale/x86/swscale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c
index a86f9f82f3..6cccf44e0f 100644
--- a/libswscale/x86/swscale.c
+++ b/libswscale/x86/swscale.c
@@ -266,7 +266,8 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
"jb 1b \n\t"\
:: "g" (filter),
"r" (dest-offset), "g" ((x86_reg)(dstW+offset)), "m" (offset)
- : "%"REG_d, "%"REG_S, "%"REG_c
+ : XMM_CLOBBERS("%xmm0" , "%xmm1" , "%xmm2" , "%xmm3" , "%xmm4" , "%xmm5" , "%xmm7" ,)
+ "%"REG_d, "%"REG_S, "%"REG_c
);
}
#endif