comparison i386/mpegvideo_mmx_template.c @ 4196:fbac0859753d libavcodec

move some CFLAGS settings away from config.* writing section
author mru
date Tue, 14 Nov 2006 03:12:29 +0000
parents 8535fcac43c1
children bbe0bc387a19
comparison
equal deleted inserted replaced
4195:6b784f65ce16 4196:fbac0859753d
137 PMAX(%%mm3, %%mm0) 137 PMAX(%%mm3, %%mm0)
138 "movd %%mm3, %%"REG_a" \n\t" 138 "movd %%mm3, %%"REG_a" \n\t"
139 "movzb %%al, %%"REG_a" \n\t" // last_non_zero_p1 139 "movzb %%al, %%"REG_a" \n\t" // last_non_zero_p1
140 : "+a" (last_non_zero_p1) 140 : "+a" (last_non_zero_p1)
141 : "r" (block+64), "r" (qmat), "r" (bias), 141 : "r" (block+64), "r" (qmat), "r" (bias),
142 "r" (inv_zigzag_direct16+64), "r" (temp_block+64) 142 "r" (ff_inv_zigzag_direct16+64), "r" (temp_block+64)
143 ); 143 );
144 // note the asm is split cuz gcc doesnt like that many operands ... 144 // note the asm is split cuz gcc doesnt like that many operands ...
145 asm volatile( 145 asm volatile(
146 "movd %1, %%mm1 \n\t" // max_qcoeff 146 "movd %1, %%mm1 \n\t" // max_qcoeff
147 SPREADW(%%mm1) 147 SPREADW(%%mm1)
183 PMAX(%%mm3, %%mm0) 183 PMAX(%%mm3, %%mm0)
184 "movd %%mm3, %%"REG_a" \n\t" 184 "movd %%mm3, %%"REG_a" \n\t"
185 "movzb %%al, %%"REG_a" \n\t" // last_non_zero_p1 185 "movzb %%al, %%"REG_a" \n\t" // last_non_zero_p1
186 : "+a" (last_non_zero_p1) 186 : "+a" (last_non_zero_p1)
187 : "r" (block+64), "r" (qmat+64), "r" (bias+64), 187 : "r" (block+64), "r" (qmat+64), "r" (bias+64),
188 "r" (inv_zigzag_direct16+64), "r" (temp_block+64) 188 "r" (ff_inv_zigzag_direct16+64), "r" (temp_block+64)
189 ); 189 );
190 // note the asm is split cuz gcc doesnt like that many operands ... 190 // note the asm is split cuz gcc doesnt like that many operands ...
191 asm volatile( 191 asm volatile(
192 "movd %1, %%mm1 \n\t" // max_qcoeff 192 "movd %1, %%mm1 \n\t" // max_qcoeff
193 SPREADW(%%mm1) 193 SPREADW(%%mm1)