Re: [FFmpeg-devel] [RFC]lavu/x86/pixelutils: Call emms before returning.

2016-10-02 Thread Michael Niedermayer
On Sun, Oct 02, 2016 at 10:53:17PM +0200, Carl Eugen Hoyos wrote: > Hi! > > The functions in libavutil/x86/pixelutils.asm are exported > to the library users if I understand the code correctly. > I suspect it can be expected that the MMX state is reset > after returning. > > Fixes the pixelutil

Re: [FFmpeg-devel] [RFC]lavu/x86/pixelutils: Call emms before returning.

2016-10-02 Thread Hendrik Leppkes
On Sun, Oct 2, 2016 at 10:53 PM, Carl Eugen Hoyos wrote: > Hi! > > The functions in libavutil/x86/pixelutils.asm are exported > to the library users if I understand the code correctly. > I suspect it can be expected that the MMX state is reset > after returning. > > Fixes the pixelutils fate test

[FFmpeg-devel] [RFC]lavu/x86/pixelutils: Call emms before returning.

2016-10-02 Thread Carl Eugen Hoyos
Hi! The functions in libavutil/x86/pixelutils.asm are exported to the library users if I understand the code correctly. I suspect it can be expected that the MMX state is reset after returning. Fixes the pixelutils fate test with musl on x86-32. Please comment, Carl Eugen From f16831e6dc0f36c8