1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Michael Niedermayer 2001-10-29 18:00:45 +00:00
parent 2add307d05
commit 17f715fa64
2 changed files with 10 additions and 4 deletions

View File

@ -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
}

View File

@ -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
}