diff --git a/libvo/osd.c b/libvo/osd.c index e32fc6bc03..41d239f563 100644 --- a/libvo/osd.c +++ b/libvo/osd.c @@ -85,40 +85,41 @@ PROFILE_START(); 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