Mercurial > libavcodec.hg
changeset 11569:731050abce41 libavcodec
Convert two "m" constraints to MANGLE to fix compilation with some compilers.
author | reimar |
---|---|
date | Thu, 01 Apr 2010 16:52:14 +0000 |
parents | e2841a104105 |
children | e03e3df6fb7d |
files | x86/h264dsp_mmx.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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"\ );\ }\