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
pull/126/head
Michael Niedermayer 23 years ago
parent 2add307d05
commit 17f715fa64
  1. 7
      postproc/swscale.c
  2. 7
      postproc/swscale_template.c

@ -1436,8 +1436,11 @@ else s_xinc2= s_xinc;
g16Dither2= g16Dither; g16Dither2= g16Dither;
#endif #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; g16Dither2= g16Dither;
#endif #endif
} }
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS:::"memory"); #ifdef HAVE_MMX
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS);
#endif
} }

Loading…
Cancel
Save