[vlc-devel] [patch] MMX/3dNow purge & emms fixes

jnqnfe at gmail.com jnqnfe at gmail.com
Sun Jan 27 12:31:10 CET 2019


patch #2 of that set was flawed, here's a replacement. apologies.

On Sat, 2019-01-26 at 09:14 +0000, jnqnfe at gmail.com wrote:
> as discussed separately, here are some patches purging MMX
> acceleration
> (building upon previous work)
> 
> I have also included here:
> 1) purge of 3dNow
> 2) fixes relating to incorrect use of the `emms` MMX related
> instruction with pure SSE2 code
> 
> I presumed AltiVec needs to remain.
> 
> #01: purges MMX from i420_yuy2/i422_yuy2/i420_rgb
> #02: converts parts of deinterlace filter that only have MMXEXT
> acceleration to use SSE2 instead (simple register targetting change
> only, does not take advantage yet of wider registers)
> #03: purges MMX/MMXEXT from deinterlace filter
> #04: purges 3dNow from deinterlace filter
> #05: switches `emms` to `sfence` for SSE2 code in deinterlace filter
> #06: purges MMX from gradfun
> #07: purges incorrect SSE2 use of `emms` with grain
> #08: purges incorrect SSE2 use of `emms` with the copy chroma mod
> #09: purges the MMX mod from configure
> #10: purges the 3dNow mod from configure
> 
> fyi, this deliberately does **not**:
>  - purge the detection routines from misc/cpu, since they are still
> used in a few places and may remain used by 3rd party plugins
>  - purge code setting MMX/MMXEXT/3dNow flags for 3rd party libs
> (libmpeg2, postproc, swscale, x246)
>  - touch the disable MMX/MMXEXT controls for android (ffmpeg)
>  - touch the `HAVE_MMX` define in codec/avcodec/avcodec.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch02_v2.patch
Type: text/x-patch
Size: 30769 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190127/a07dc745/attachment.bin>


More information about the vlc-devel mailing list