[FFmpeg-cvslog] r22760 - trunk/libavcodec/x86/h264dsp_mmx.c
reimar
subversion
Thu Apr 1 18:52:14 CEST 2010
Author: reimar
Date: Thu Apr 1 18:52:14 2010
New Revision: 22760
Log:
Convert two "m" constraints to MANGLE to fix compilation with some compilers.
Modified:
trunk/libavcodec/x86/h264dsp_mmx.c
Modified: trunk/libavcodec/x86/h264dsp_mmx.c
==============================================================================
--- trunk/libavcodec/x86/h264dsp_mmx.c Thu Apr 1 17:52:50 2010 (r22759)
+++ trunk/libavcodec/x86/h264dsp_mmx.c Thu Apr 1 18:52:14 2010 (r22760)
@@ -964,8 +964,8 @@ static av_noinline void OPNAME ## h264_q
\
__asm__ volatile(\
"pxor %%mm7, %%mm7 \n\t"\
- "movq %5, %%mm4 \n\t"\
- "movq %6, %%mm5 \n\t"\
+ "movq "MANGLE(ff_pw_5) ", %%mm4\n\t"\
+ "movq "MANGLE(ff_pw_16)", %%mm5\n\t"\
"1: \n\t"\
"movd -1(%0), %%mm1 \n\t"\
"movd (%0), %%mm2 \n\t"\
@@ -995,7 +995,7 @@ static av_noinline void OPNAME ## h264_q
"decl %2 \n\t"\
" jnz 1b \n\t"\
: "+a"(src), "+c"(dst), "+g"(h)\
- : "d"((x86_reg)srcStride), "S"((x86_reg)dstStride), "m"(ff_pw_5), "m"(ff_pw_16)\
+ : "d"((x86_reg)srcStride), "S"((x86_reg)dstStride)\
: "memory"\
);\
}\
More information about the ffmpeg-cvslog
mailing list