Revision b0e1343b libswscale/swscale_template.c

View differences:

libswscale/swscale_template.c
2470 2470
            PREFETCH" 32(%%"REG_c")             \n\t"
2471 2471
            PREFETCH" 64(%%"REG_c")             \n\t"
2472 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

  
2494 2473
CALL_MMX2_FILTER_CODE
2495 2474
CALL_MMX2_FILTER_CODE
2496 2475
CALL_MMX2_FILTER_CODE

Also available in: Unified diff