summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/aclib_template.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libvo/aclib_template.c b/libvo/aclib_template.c
index 0b50f7ecf3..4ec6c492fb 100644
--- a/libvo/aclib_template.c
+++ b/libvo/aclib_template.c
@@ -199,8 +199,8 @@ static void * RENAME(fast_memcpy)(void * to, const void * from, size_t len)
"movntps %%xmm2, 32(%1)\n"
"movntps %%xmm3, 48(%1)\n"
:: "r" (from), "r" (to) : "memory");
- ((const unsigned char *)from)+=64;
- ((unsigned char *)to)+=64;
+ from=((const unsigned char *) from)+64;
+ to=((unsigned char *)to)+64;
}
else
/*
@@ -221,8 +221,8 @@ static void * RENAME(fast_memcpy)(void * to, const void * from, size_t len)
"movntps %%xmm2, 32(%1)\n"
"movntps %%xmm3, 48(%1)\n"
:: "r" (from), "r" (to) : "memory");
- ((const unsigned char *)from)+=64;
- ((unsigned char *)to)+=64;
+ from=((const unsigned char *)from)+64;
+ to=((unsigned char *)to)+64;
}
#else
// Align destination at BLOCK_SIZE boundary
@@ -424,8 +424,8 @@ static void * RENAME(mem2agpcpy)(void * to, const void * from, size_t len)
MOVNTQ" %%mm6, 48(%1)\n"
MOVNTQ" %%mm7, 56(%1)\n"
:: "r" (from), "r" (to) : "memory");
- ((const unsigned char *)from)+=64;
- ((unsigned char *)to)+=64;
+ from=((const unsigned char *)from)+64;
+ to=((unsigned char *)to)+64;
}
#ifdef HAVE_MMX2
/* since movntq is weakly-ordered, a "sfence"