mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
dct-test: give emms a memory clober.
Without this, the compiler in theory could attempt to keep things in float registers across the emms which would cause bad things to happen. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
461030a7ac
commit
0d83edaba9
@ -204,7 +204,7 @@ static inline void mmx_emms(void)
|
||||
{
|
||||
#if HAVE_MMX
|
||||
if (cpu_flags & AV_CPU_FLAG_MMX)
|
||||
__asm__ volatile ("emms\n\t");
|
||||
__asm__ volatile ("emms\n\t" ::: "memory");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user