From 6157b0b3ea1d5d7a03ecd814a17689a46b17d7e8 Mon Sep 17 00:00:00 2001 From: reimar 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". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21341 b3059339-0415-0410-9bf9-f77b7e298cf2 --- 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 3725979bd1..e725a3bb0a 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\ );