[MPlayer-cvslog] r21341 - trunk/libswscale/swscale_template.c

reimar subversion at mplayerhq.hu
Mon Nov 27 22:59:13 CET 2006


Author: reimar
Date: Mon Nov 27 22:59:13 2006
New Revision: 21341

Modified:
   trunk/libswscale/swscale_template.c

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


Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c	(original)
+++ trunk/libswscale/swscale_template.c	Mon Nov 27 22:59:13 2006
@@ -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\
                 );
 



More information about the MPlayer-cvslog mailing list