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
This commit is contained in:
Reimar Döffinger 2006-11-27 21:59:13 +00:00
parent b0d7bc1eab
commit e96da13bc7
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@
"mov (%%"REG_d"), %%"REG_S" \n\t"\
"jb 1b \n\t"\
:: "r" (&c->redDither),\
"r" (dest), "p" (width)\
"r" (dest), "g" (width)\
: "%"REG_a, "%"REG_d, "%"REG_S\
);
@ -164,7 +164,7 @@
"mov (%%"REG_d"), %%"REG_S" \n\t"\
"jb 1b \n\t"\
:: "r" (&c->redDither),\
"r" (dest), "p" (width)\
"r" (dest), "g" (width)\
: "%"REG_a, "%"REG_d, "%"REG_S\
);