# HG changeset patch # User reimar # Date 1270140734 0 # Node ID 731050abce416b036a10683579de4be08b6e4eee # Parent e2841a1041056b1f49b372afd440f852e4c36974 Convert two "m" constraints to MANGLE to fix compilation with some compilers. diff -r e2841a104105 -r 731050abce41 x86/h264dsp_mmx.c --- a/x86/h264dsp_mmx.c Thu Apr 01 15:52:50 2010 +0000 +++ b/x86/h264dsp_mmx.c Thu Apr 01 16:52:14 2010 +0000 @@ -964,8 +964,8 @@ \ __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 @@ "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"\ );\ }\