Mercurial > mplayer.hg
comparison postproc/swscale_template.c @ 15762:a418d6768d18
10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32
tested with gcc-2.95, 3.3, 3.4, 4.0 on ia-32 and 3.4, 4.0, 3.3 on amd64
author | gpoirier |
---|---|
date | Sun, 19 Jun 2005 14:35:10 +0000 |
parents | da8f4e7e4b95 |
children | 0f5d6aad2554 |
comparison
equal
deleted
inserted
replaced
15761:f2e5268acebb | 15762:a418d6768d18 |
---|---|
2545 "adc %3, %%"REG_b" \n\t" //xx+= xInc>>8 + carry | 2545 "adc %3, %%"REG_b" \n\t" //xx+= xInc>>8 + carry |
2546 "add $1, %%"REG_a" \n\t" | 2546 "add $1, %%"REG_a" \n\t" |
2547 "cmp %2, %%"REG_a" \n\t" | 2547 "cmp %2, %%"REG_a" \n\t" |
2548 " jb 1b \n\t" | 2548 " jb 1b \n\t" |
2549 | 2549 |
2550 :: "m" (src1), "m" (dst), "p" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), | 2550 :: "m" (src1), "m" (dst), "mp" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), |
2551 "r" (src2) | 2551 "r" (src2) |
2552 : "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi" | 2552 : "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi" |
2553 ); | 2553 ); |
2554 #ifdef HAVE_MMX2 | 2554 #ifdef HAVE_MMX2 |
2555 } //if MMX2 can't be used | 2555 } //if MMX2 can't be used |