]> git.sesse.net Git - vlc/commit
Do not pass -mmmx or -msse2 to the compiler
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 9 May 2011 15:40:32 +0000 (18:40 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 9 May 2011 16:00:51 +0000 (19:00 +0300)
commit9c61b594a9d8b9fd701b8716b5c783b45c4685c7
tree60736c29b6c3ae0aa6f9b5d81cb6ed34af381ae3
parent41346148927242528a72dc5006f77594944c3d43
Do not pass -mmmx or -msse2 to the compiler

x86 GCC does not need those parameters to compile MMX or SSE assembly
or built-in intrinsics (contrary to ARM GCC w.r.t. NEON). They only
allow the compiler to issue MMX or SSE instructions for the plain C
code. We already rely on this tolerant compiler semantic for the CPU
detection code, and for some optionally accelerated filters (e.g.
deinterlace).

Disabling MMX and SSE for non-assembly code should have no or
negligible effects on the affected plugins. On the other hand, it
ensures that the plugin descriptor can be run by non-MMX/non-SSE CPUs.
configure.ac
modules/mmx/Modules.am
modules/sse2/Modules.am