]> git.sesse.net Git - ffmpeg/commitdiff
Change "p" asm constraints to "g", since "p" was a no longer necessary hack to
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 27 Nov 2006 21:59:13 +0000 (21:59 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 27 Nov 2006 21:59:13 +0000 (21:59 +0000)
make AMD64 compilation work and ICC can not handle "p".

Originally committed as revision 21341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale_template.c

index 3725979bd1e625f943adcfb78d41564ec6e2472a..e725a3bb0a952fde08d52af2f629f48f1691e4ec 100644 (file)
                        "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\
                 );
 
                        "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\
                 );