Mercurial > mplayer.hg
changeset 2766:49c31fd18273
bugfix
author | michael |
---|---|
date | Wed, 07 Nov 2001 23:17:11 +0000 |
parents | a24cd70a12d1 |
children | 812e60e913a2 |
files | postproc/rgb2rgb.c postproc/rgb2rgb_template.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/postproc/rgb2rgb.c Wed Nov 07 23:15:19 2001 +0000 +++ b/postproc/rgb2rgb.c Wed Nov 07 23:17:11 2001 +0000 @@ -604,6 +604,9 @@ :: "r" (src), "r"(dst), "r" (num_pixels) : "%eax" ); + + __asm __volatile(SFENCE:::"memory"); + __asm __volatile(EMMS:::"memory"); #else int i; for(i=0; i<num_pixels; i++)
--- a/postproc/rgb2rgb_template.c Wed Nov 07 23:15:19 2001 +0000 +++ b/postproc/rgb2rgb_template.c Wed Nov 07 23:17:11 2001 +0000 @@ -604,6 +604,9 @@ :: "r" (src), "r"(dst), "r" (num_pixels) : "%eax" ); + + __asm __volatile(SFENCE:::"memory"); + __asm __volatile(EMMS:::"memory"); #else int i; for(i=0; i<num_pixels; i++)