changeset 21325:963e85e82154

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".
author reimar
date Mon, 27 Nov 2006 21:59:13 +0000
parents a87fe56afd56
children af809f05ed57
files libswscale/swscale_template.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale_template.c	Mon Nov 27 21:02:06 2006 +0000
+++ b/libswscale/swscale_template.c	Mon Nov 27 21:59:13 2006 +0000
@@ -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\
                 );