# HG changeset patch # User michaelni # Date 1041937635 0 # Node ID e149203f4a0d404ac00602709e8a82d93b705a58 # Parent 6e6773512288b50f587ad95adbf2536b6d857439 gcc 3.2.2 -O3 bug workaround (older gcc are very likely affected too but didnt check) diff -r 6e6773512288 -r e149203f4a0d i386/dsputil_mmx_rnd.h --- a/i386/dsputil_mmx_rnd.h Mon Jan 06 22:47:42 2003 +0000 +++ b/i386/dsputil_mmx_rnd.h Tue Jan 07 11:07:15 2003 +0000 @@ -163,9 +163,9 @@ "addl $32, %2 \n\t" "subl $2, %0 \n\t" "jnz 1b \n\t" - :"+g"(h), "+r"(src1), "+r"(src2), "+r"(dst) - :"r"(src1Stride), "r"(dstStride) - :"memory"); + :"+a"(h), "+b"(src1), "+c"(src2), "+d"(dst) + :"S"(src1Stride), "D"(dstStride) + :"memory"); } static void DEF(put, pixels8_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h)