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

James Almer git at videolan.org
Thu Aug 20 14:53:43 CEST 2015


ffmpeg | branch: release/2.4 | James Almer <jamrial at gmail.com> | Tue Jun 23 01:14:16 2015 -0300| [1795bef7c736c2ab2442174a71191a78d6995b58] | committer: Michael Niedermayer

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)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 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