Commit f419e8b3 authored by reimar's avatar reimar

Convert two "m" constraints to MANGLE to fix compilation with some compilers.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22760 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bd8c8259
...@@ -964,8 +964,8 @@ static av_noinline void OPNAME ## h264_qpel4_h_lowpass_ ## MMX(uint8_t *dst, uin ...@@ -964,8 +964,8 @@ static av_noinline void OPNAME ## h264_qpel4_h_lowpass_ ## MMX(uint8_t *dst, uin
\ \
__asm__ volatile(\ __asm__ volatile(\
"pxor %%mm7, %%mm7 \n\t"\ "pxor %%mm7, %%mm7 \n\t"\
"movq %5, %%mm4 \n\t"\ "movq "MANGLE(ff_pw_5) ", %%mm4\n\t"\
"movq %6, %%mm5 \n\t"\ "movq "MANGLE(ff_pw_16)", %%mm5\n\t"\
"1: \n\t"\ "1: \n\t"\
"movd -1(%0), %%mm1 \n\t"\ "movd -1(%0), %%mm1 \n\t"\
"movd (%0), %%mm2 \n\t"\ "movd (%0), %%mm2 \n\t"\
...@@ -995,7 +995,7 @@ static av_noinline void OPNAME ## h264_qpel4_h_lowpass_ ## MMX(uint8_t *dst, uin ...@@ -995,7 +995,7 @@ static av_noinline void OPNAME ## h264_qpel4_h_lowpass_ ## MMX(uint8_t *dst, uin
"decl %2 \n\t"\ "decl %2 \n\t"\
" jnz 1b \n\t"\ " jnz 1b \n\t"\
: "+a"(src), "+c"(dst), "+g"(h)\ : "+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"\ : "memory"\
);\ );\
}\ }\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment