diff options
author | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2005-06-19 00:16:19 +0400 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2005-06-19 00:16:19 +0400 |
commit | bf0c1b62f84960d591489859e609b93dda97b5b4 (patch) | |
tree | ed16662abb16b45db22ed09c55bab623730d837e | |
parent | 8108551a5c4c4c9696582c73d000f94b12cd95a5 (diff) |
GCC-4 fix for AMD-64
Warning: high cola-affinity here)
Originally committed as revision 15750 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
-rw-r--r-- | postproc/swscale_template.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index 99f756e8b8..ff7f46fb36 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -765,14 +765,14 @@ static inline void RENAME(yuv2yuvX)(SwsContext *c, int16_t *lumFilter, int16_t * 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 @@ static inline void RENAME(yuv2yuvX)(SwsContext *c, int16_t *lumFilter, int16_t * 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 @@ FUNNY_UV_CODE "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" ); |