summaryrefslogtreecommitdiff
path: root/src/post/goom/convolve_fx.c
diff options
context:
space:
mode:
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++;