comparison libswscale/swscale_template.c @ 29466:8d73112b7589

Remove duplicate define (it is the same in the lum code).
author ramiro
date Thu, 13 Aug 2009 18:28:55 +0000
parents 45e78d49e493
children a697eafd804d
comparison
equal deleted inserted replaced
29465:45e78d49e493 29466:8d73112b7589
2467 "mov %3, %%"REG_b" \n\t" 2467 "mov %3, %%"REG_b" \n\t"
2468 "xor %%"REG_a", %%"REG_a" \n\t" // i 2468 "xor %%"REG_a", %%"REG_a" \n\t" // i
2469 PREFETCH" (%%"REG_c") \n\t" 2469 PREFETCH" (%%"REG_c") \n\t"
2470 PREFETCH" 32(%%"REG_c") \n\t" 2470 PREFETCH" 32(%%"REG_c") \n\t"
2471 PREFETCH" 64(%%"REG_c") \n\t" 2471 PREFETCH" 64(%%"REG_c") \n\t"
2472
2473 #if ARCH_X86_64
2474
2475 #define CALL_MMX2_FILTER_CODE \
2476 "movl (%%"REG_b"), %%esi \n\t"\
2477 "call *%4 \n\t"\
2478 "movl (%%"REG_b", %%"REG_a"), %%esi \n\t"\
2479 "add %%"REG_S", %%"REG_c" \n\t"\
2480 "add %%"REG_a", %%"REG_D" \n\t"\
2481 "xor %%"REG_a", %%"REG_a" \n\t"\
2482
2483 #else
2484
2485 #define CALL_MMX2_FILTER_CODE \
2486 "movl (%%"REG_b"), %%esi \n\t"\
2487 "call *%4 \n\t"\
2488 "addl (%%"REG_b", %%"REG_a"), %%"REG_c" \n\t"\
2489 "add %%"REG_a", %%"REG_D" \n\t"\
2490 "xor %%"REG_a", %%"REG_a" \n\t"\
2491
2492 #endif /* ARCH_X86_64 */
2493 2472
2494 CALL_MMX2_FILTER_CODE 2473 CALL_MMX2_FILTER_CODE
2495 CALL_MMX2_FILTER_CODE 2474 CALL_MMX2_FILTER_CODE
2496 CALL_MMX2_FILTER_CODE 2475 CALL_MMX2_FILTER_CODE
2497 CALL_MMX2_FILTER_CODE 2476 CALL_MMX2_FILTER_CODE