summaryrefslogtreecommitdiff
path: root/src/post/goom/convolve_fx.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-07-22 16:37:44 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-07-22 16:37:44 +0000
commit5e5a91178e91469655f6558ecd874d1cbf486478 (patch)
treed7e28736ec18c6d3beb576877a98afee81808716 /src/post/goom/convolve_fx.c
parentfac57903f02a2c40653d51611631ef23d49fc12e (diff)
downloadxine-lib-5e5a91178e91469655f6558ecd874d1cbf486478.tar.gz
xine-lib-5e5a91178e91469655f6558ecd874d1cbf486478.tar.bz2
another gcc 2.9x fix
CVS patchset: 7675 CVS date: 2005/07/22 16:37:44
Diffstat (limited to 'src/post/goom/convolve_fx.c')
-rw-r--r--src/post/goom/convolve_fx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/post/goom/convolve_fx.c b/src/post/goom/convolve_fx.c
index 5f7268a7c..6c205382d 100644
--- a/src/post/goom/convolve_fx.c
+++ b/src/post/goom/convolve_fx.c
@@ -172,7 +172,7 @@ static void create_output_with_brightness(VisualFX *_this, Pixel *src, Pixel *de
{
__asm__ __volatile__
(
- "\n\t movd %[src], %%mm0" /* mm0 = src */
+ "\n\t movd %1, %%mm0" /* mm0 = src */
"\n\t paddd %%mm4, %%mm2" /* [ ytex | xtex ] += [ -s | s ] */
"\n\t movd %%esi, %%mm5" /* save esi into mm5 */
"\n\t movq %%mm2, %%mm3"
@@ -190,7 +190,7 @@ static void create_output_with_brightness(VisualFX *_this, Pixel *src, Pixel *de
"\n\t xorl %%ecx, %%ecx"
"\n\t movb (%%eax,%%esi), %%cl"
- "\n\t movl %[ifftab], %%eax"
+ "\n\t movl %2, %%eax"
"\n\t movd %%mm5, %%esi" /* restore esi from mm5 */
"\n\t movd (%%eax,%%ecx,4), %%mm1" /* mm1 = [0|0|0|iff2] */
@@ -202,10 +202,10 @@ static void create_output_with_brightness(VisualFX *_this, Pixel *src, Pixel *de
"\n\t pmullw %%mm1, %%mm0"
"\n\t psrlw $5, %%mm0"
"\n\t packuswb %%mm7, %%mm0"
- "\n\t movd %%mm0, %[dest]"
- : [dest] "=g" (dest[i].val)
- : [src] "g" (src[i].val)
- , [ifftab]"g"(&ifftab[0])
+ "\n\t movd %%mm0, %0"
+ : "=g" (dest[i].val)
+ : "g" (src[i].val)
+ , "g"(&ifftab[0])
: "eax","ecx");
i++;