# HG changeset patch # User nick # Date 1005492911 0 # Node ID 86fdf7897315a5ea168d411d249fa7a80d7ad691 # Parent b7d3b450f8fd584c1e9e87b18379aec416370790 Minor speedup for K6-2, K7, P3 diff -r b7d3b450f8fd -r 86fdf7897315 libvo/osd.c --- a/libvo/osd.c Sun Nov 11 15:20:19 2001 +0000 +++ b/libvo/osd.c Sun Nov 11 15:35:11 2001 +0000 @@ -85,40 +85,41 @@ register int x; #ifdef ARCH_X86 #ifdef HAVE_MMX + asm volatile( + PREFETCHW" %0\n\t" + PREFETCH" %1\n\t" + PREFETCH" %2\n\t" + "pxor %%mm7, %%mm7\n\t" + "pcmpeqb %%mm6, %%mm6\n\t" // F..F + ::"m"(dstbase),"m"(srca),"m"(src):"memory"); + for(x=0;x