Commit e96da13b authored by Reimar Döffinger's avatar Reimar Döffinger

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".

Originally committed as revision 21341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent b0d7bc1e
...@@ -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