comparison i386/dsputil_mmx.c @ 422:aa4a1c6209bd libavcodec

* baling 8 seems to have the same speed
author kabi
date Thu, 23 May 2002 16:19:07 +0000
parents cce83064710a
children 718a22dc121f
comparison
equal deleted inserted replaced
421:cce83064710a 422:aa4a1c6209bd
268 static void put_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) 268 static void put_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h)
269 { 269 {
270 asm volatile 270 asm volatile
271 ( 271 (
272 "lea (%3, %3), %%eax \n\t" 272 "lea (%3, %3), %%eax \n\t"
273 ".balign 16 \n\t" 273 ".balign 8 \n\t"
274 "1: \n\t" 274 "1: \n\t"
275 "movq (%1), %%mm0 \n\t" 275 "movq (%1), %%mm0 \n\t"
276 "movq (%1, %3), %%mm1 \n\t" 276 "movq (%1, %3), %%mm1 \n\t"
277 "movq %%mm0, (%2) \n\t" 277 "movq %%mm0, (%2) \n\t"
278 "movq %%mm1, (%2, %3) \n\t" 278 "movq %%mm1, (%2, %3) \n\t"