[FFmpeg-cvslog] swscale/x86/rgb2rgb_template: add missing xmm clobbers

James Almer git at videolan.org
Fri Jun 26 21:41:56 CEST 2015


ffmpeg | branch: release/2.7 | James Almer <jamrial at gmail.com> | Tue Jun 23 01:14:16 2015 -0300| [aebb9410c5465058319ced6678da8d15ee99a75b] | committer: James Almer

swscale/x86/rgb2rgb_template: add missing xmm clobbers

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit 910eeab48026060b5f7780b2560445c069eb4d6b)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aebb9410c5465058319ced6678da8d15ee99a75b
---

 libswscale/x86/rgb2rgb_template.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c
index e71c7eb..fd04923 100644
--- a/libswscale/x86/rgb2rgb_template.c
+++ b/libswscale/x86/rgb2rgb_template.c
@@ -1905,7 +1905,7 @@ static void RENAME(interleaveBytes)(const uint8_t *src1, const uint8_t *src2, ui
             "cmp                     %3, %%"REG_a"  \n\t"
             " jb                     1b             \n\t"
             ::"r"(dest), "r"(src1), "r"(src2), "r" ((x86_reg)width-15)
-            : "memory", "%"REG_a""
+            : "memory", XMM_CLOBBERS("xmm0", "xmm1", "xmm2",) "%"REG_a
         );
 #else
         __asm__(



More information about the ffmpeg-cvslog mailing list