Commit 443787f8 authored by reimar's avatar reimar

Change "p" asm constraints to "g", since "p" was a no longer necessary hack to

make AMD64 compilation work and ICC can not handle "p".


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@21341 b3059339-0415-0410-9bf9-f77b7e298cf2
parent e0c69aed
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
"mov (%%"REG_d"), %%"REG_S" \n\t"\ "mov (%%"REG_d"), %%"REG_S" \n\t"\
"jb 1b \n\t"\ "jb 1b \n\t"\
:: "r" (&c->redDither),\ :: "r" (&c->redDither),\
"r" (dest), "p" (width)\ "r" (dest), "g" (width)\
: "%"REG_a, "%"REG_d, "%"REG_S\ : "%"REG_a, "%"REG_d, "%"REG_S\
); );
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
"mov (%%"REG_d"), %%"REG_S" \n\t"\ "mov (%%"REG_d"), %%"REG_S" \n\t"\
"jb 1b \n\t"\ "jb 1b \n\t"\
:: "r" (&c->redDither),\ :: "r" (&c->redDither),\
"r" (dest), "p" (width)\ "r" (dest), "g" (width)\
: "%"REG_a, "%"REG_d, "%"REG_S\ : "%"REG_a, "%"REG_d, "%"REG_S\
); );
......
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