comparison i386/dsputil_mmx_rnd.h @ 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 3ec070eef24a
children 7ef9226f430e
comparison
equal deleted inserted replaced
964:6e6773512288 965:e149203f4a0d
161 "movq %%mm5, 8(%3) \n\t" 161 "movq %%mm5, 8(%3) \n\t"
162 "addl %5, %3 \n\t" 162 "addl %5, %3 \n\t"
163 "addl $32, %2 \n\t" 163 "addl $32, %2 \n\t"
164 "subl $2, %0 \n\t" 164 "subl $2, %0 \n\t"
165 "jnz 1b \n\t" 165 "jnz 1b \n\t"
166 :"+g"(h), "+r"(src1), "+r"(src2), "+r"(dst) 166 :"+a"(h), "+b"(src1), "+c"(src2), "+d"(dst)
167 :"r"(src1Stride), "r"(dstStride) 167 :"S"(src1Stride), "D"(dstStride)
168 :"memory"); 168 :"memory");
169 } 169 }
170 170
171 static void DEF(put, pixels8_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h) 171 static void DEF(put, pixels8_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h)
172 { 172 {
173 MOVQ_BFE(mm6); 173 MOVQ_BFE(mm6);