summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/post/planar/eq2.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/post/planar/eq2.c b/src/post/planar/eq2.c
index 06d8cd3fd..8822cd816 100644
--- a/src/post/planar/eq2.c
+++ b/src/post/planar/eq2.c
@@ -124,15 +124,16 @@ void affine_1d_MMX (eq2_param_t *par, unsigned char *dst, unsigned char *src,
sstep = sstride - w;
dstep = dstride - w;
+ asm volatile (
+ "movq (%0), %%mm3 \n\t"
+ "movq (%1), %%mm4 \n\t"
+ "pxor %%mm0, %%mm0 \n\t"
+ :
+ : "g" (brvec), "g" (contvec)
+ );
+
while (h-- > 0) {
asm volatile (
- "movq (%0), %%mm3 \n\t"
- "movq (%1), %%mm4 \n\t"
- :
- : "r" (brvec), "r" (contvec)
- );
- asm volatile (
- "pxor %%mm0, %%mm0 \n\t"
"movl %4, %%eax\n\t"
ASMALIGN(4)
"1: \n\t"