[MPlayer-dev-eng] [PATCH] Maybe fix gcc4 for problems on amd64 without breaking other arches
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jul 7 10:20:06 CEST 2005
Hi,
On Thu, Jul 07, 2005 at 07:36:19AM +0300, Ismail Donmez wrote:
> #endif
> long xInc_shr16 = (long) (xInc >> 16);
> + long xDstWidth = (long) dstWidth;
> int xInc_mask = xInc & 0xffff;
> asm volatile(
> "xor %%"REG_a", %%"REG_a" \n\t" // i
> @@ -2547,7 +2548,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), "m" (xDstWidth), "m" (xInc_shr16), "m" (xInc_mask),
I tried something like that (making the dstWidth argument long), and it
breaks with gcc 3.3. Did you test that?
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list