[SCM] libav/experimental: fdct_mmx: add xmm registers to clobber list

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:18:21 UTC 2013


The following commit has been merged in the experimental branch:
commit 0d729e0de28d8f57fec26792942f7aa9bf37ba70
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Sun Oct 31 13:45:04 2010 +0000

    fdct_mmx: add xmm registers to clobber list
    
    Originally committed as revision 25609 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/x86/fdct_mmx.c b/libavcodec/x86/fdct_mmx.c
index 6e52285..e55d306 100644
--- a/libavcodec/x86/fdct_mmx.c
+++ b/libavcodec/x86/fdct_mmx.c
@@ -31,6 +31,7 @@
  */
 
 #include "libavutil/common.h"
+#include "libavutil/x86_cpu.h"
 #include "libavcodec/dsputil.h"
 
 //////////////////////////////////////////////////////////////////////
@@ -431,6 +432,8 @@ static av_always_inline void fdct_row_sse2(const int16_t *in, int16_t *out)
         FDCT_ROW_SSE2(80)
         :
         : "r" (in), "r" (tab_frw_01234567_sse2.tab_frw_01234567_sse2), "r" (fdct_r_row_sse2.fdct_r_row_sse2), "i" (SHIFT_FRW_ROW), "r" (out)
+          XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3",
+                            "%xmm4", "%xmm5", "%xmm6", "%xmm7")
     );
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list