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

jnqnfe at gmail.com jnqnfe at gmail.com
Sat Jan 26 10:14:11 CET 2019


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: patch01.patch
Type: text/x-patch
Size: 65507 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch02.patch
Type: text/x-patch
Size: 30831 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch03.patch
Type: text/x-patch
Size: 18869 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch04.patch
Type: text/x-patch
Size: 3554 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch05.patch
Type: text/x-patch
Size: 2105 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch06.patch
Type: text/x-patch
Size: 3143 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0015.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch07.patch
Type: text/x-patch
Size: 1440 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0016.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch08.patch
Type: text/x-patch
Size: 1785 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0017.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch09.patch
Type: text/x-patch
Size: 3374 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0018.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch10.patch
Type: text/x-patch
Size: 1113 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190126/c1a7aa42/attachment-0019.bin>


More information about the vlc-devel mailing list