gcc 3.2.2 -O3 bug workaround (older gcc are very likely affected too but didnt check)

Originally committed as revision 1406 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-01-07 11:07:15 +00:00
parent 3bea538625
commit 3df6fa7777

View File

@ -163,9 +163,9 @@ static void DEF(put, pixels16_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, in
"addl $32, %2 \n\t" "addl $32, %2 \n\t"
"subl $2, %0 \n\t" "subl $2, %0 \n\t"
"jnz 1b \n\t" "jnz 1b \n\t"
:"+g"(h), "+r"(src1), "+r"(src2), "+r"(dst) :"+a"(h), "+b"(src1), "+c"(src2), "+d"(dst)
:"r"(src1Stride), "r"(dstStride) :"S"(src1Stride), "D"(dstStride)
:"memory"); :"memory");
} }
static void DEF(put, pixels8_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void DEF(put, pixels8_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h)