summaryrefslogtreecommitdiff
path: root/libswscale/swscale_template.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-11-27 21:59:13 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-11-27 21:59:13 +0000
commite96da13bc753ef3081794d90fa0d9f6a777656d3 (patch)
treeb24d8276da33614b70f4fea7f8c94749ac2b284f /libswscale/swscale_template.c
parentb0d7bc1eabf825abba6bfeebd4df138ac744ea49 (diff)
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
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r--libswscale/swscale_template.c4
1 files 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\
);