From e96da13bc753ef3081794d90fa0d9f6a777656d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Mon, 27 Nov 2006 21:59:13 +0000 Subject: [PATCH] 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 --- libswscale/swscale_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index 3725979bd1e..e725a3bb0a9 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -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\ ); -- 2.39.2