changeset 965:e149203f4a0d libavcodec

gcc 3.2.2 -O3 bug workaround (older gcc are very likely affected too but didnt check)
author michaelni
date Tue, 07 Jan 2003 11:07:15 +0000
parents 6e6773512288
children 7ef9226f430e
files i386/dsputil_mmx_rnd.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)