[SCM] libav/experimental: gcc chokes on xmm constraints, so pessimize int32_to_float_fmul_scalar_sse a little

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:27:31 UTC 2013


The following commit has been merged in the experimental branch:
commit ee4675373988bccc96a39f48ffad200926778ad2
Author: Loren Merritt <lorenm at u.washington.edu>
Date:   Thu Aug 14 04:39:59 2008 +0000

    gcc chokes on xmm constraints, so pessimize int32_to_float_fmul_scalar_sse a little
    
    Originally committed as revision 14748 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 4a5b3b8..58d6f09 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -2212,7 +2212,7 @@ static void int32_to_float_fmul_scalar_sse(float *dst, const int *src, float mul
         "add $32, %0 \n"
         "jl 1b \n"
         :"+r"(i)
-        :"r"(dst+len), "r"(src+len), "xm"(mul)
+        :"r"(dst+len), "r"(src+len), "m"(mul)
     );
 }
 
@@ -2232,7 +2232,7 @@ static void int32_to_float_fmul_scalar_sse2(float *dst, const int *src, float mu
         "add $32, %0 \n"
         "jl 1b \n"
         :"+r"(i)
-        :"r"(dst+len), "r"(src+len), "xm"(mul)
+        :"r"(dst+len), "r"(src+len), "m"(mul)
     );
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list