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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2535 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2001-10-29 18:00:45 +00:00
parent 455415daf2
commit ba649eff2d
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
}