Commit 17f715fa authored by Michael Niedermayer's avatar Michael Niedermayer

patch from Martin Decky <deckm1am@ss1000.ms.mff.cuni.cz> applied and unnecassery "memory" removed

Originally committed as revision 2535 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent 2add307d
......@@ -1436,8 +1436,11 @@ else s_xinc2= s_xinc;
g16Dither2= g16Dither;
#endif
}
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS:::"memory");
#ifdef HAVE_MMX
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS);
#endif
}
......
......@@ -1436,8 +1436,11 @@ else s_xinc2= s_xinc;
g16Dither2= g16Dither;
#endif
}
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS:::"memory");
#ifdef HAVE_MMX
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment