[MPlayer-cvslog] CVS: main/postproc swscale_template.c,1.114,1.115
Guillaume Poirier CVS
syncmail at mplayerhq.hu
Sat Jun 18 22:16:22 CEST 2005
CVS change done by Guillaume Poirier CVS
Update of /cvsroot/mplayer/main/postproc
In directory mail:/var2/tmp/cvs-serv19362
Modified Files:
swscale_template.c
Log Message:
GCC-4 fix for AMD-64
Warning: high cola-affinity here)
Index: swscale_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale_template.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- swscale_template.c 2 Jun 2005 20:54:03 -0000 1.114
+++ swscale_template.c 18 Jun 2005 20:16:19 -0000 1.115
@@ -765,14 +765,14 @@
asm volatile(
YSCALEYUV2YV12X(0, CHR_MMX_FILTER_OFFSET)
:: "r" (&c->redDither),
- "r" (uDest), "m" ((long)chrDstW)
+ "r" (uDest), "p" ((long)chrDstW)
: "%"REG_a, "%"REG_d, "%"REG_S
);
asm volatile(
YSCALEYUV2YV12X(4096, CHR_MMX_FILTER_OFFSET)
:: "r" (&c->redDither),
- "r" (vDest), "m" ((long)chrDstW)
+ "r" (vDest), "p" ((long)chrDstW)
: "%"REG_a, "%"REG_d, "%"REG_S
);
}
@@ -780,7 +780,7 @@
asm volatile(
YSCALEYUV2YV12X(0, LUM_MMX_FILTER_OFFSET)
:: "r" (&c->redDither),
- "r" (dest), "m" ((long)dstW)
+ "r" (dest), "p" ((long)dstW)
: "%"REG_a, "%"REG_d, "%"REG_S
);
#else
@@ -2547,7 +2547,7 @@
"cmp %2, %%"REG_a" \n\t"
" jb 1b \n\t"
- :: "m" (src1), "m" (dst), "m" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
+ :: "m" (src1), "m" (dst), "p" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
"r" (src2)
: "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi"
);
More information about the MPlayer-cvslog
mailing list