Re: [FFmpeg-devel] [PATCH] x86/emms: run the instruction unconditionally on supported targets

2016-02-03 Thread James Almer
On 2/3/2016 2:21 AM, James Almer wrote: > Inlined functions like AV_ZERO* and AV_COPY* may use mmx instructions > regardless of runtime cpuflags. > > Signed-off-by: James Almer > --- > On targets where __MMX__ is not defined (like default x86_32 builds) the > runtime check is

Re: [FFmpeg-devel] [PATCH] x86/emms: run the instruction unconditionally on supported targets

2016-02-03 Thread Michael Niedermayer
On Wed, Feb 03, 2016 at 02:21:28AM -0300, James Almer wrote: > Inlined functions like AV_ZERO* and AV_COPY* may use mmx instructions > regardless of runtime cpuflags. > > Signed-off-by: James Almer > --- > On targets where __MMX__ is not defined (like default x86_32 builds)

Re: [FFmpeg-devel] [PATCH] x86/emms: run the instruction unconditionally on supported targets

2016-02-03 Thread James Almer
On 2/3/2016 11:57 PM, Michael Niedermayer wrote: > On Wed, Feb 03, 2016 at 02:21:28AM -0300, James Almer wrote: >> Inlined functions like AV_ZERO* and AV_COPY* may use mmx instructions >> regardless of runtime cpuflags. >> >> Signed-off-by: James Almer >> --- >> On targets

[FFmpeg-devel] [PATCH] x86/emms: run the instruction unconditionally on supported targets

2016-02-02 Thread James Almer
Inlined functions like AV_ZERO* and AV_COPY* may use mmx instructions regardless of runtime cpuflags. Signed-off-by: James Almer --- On targets where __MMX__ is not defined (like default x86_32 builds) the runtime check is a must, and neither of the above functions will use