[vlc-commits] Linux: add detection for SSE4A

Rémi Denis-Courmont git at videolan.org
Fri Feb 3 17:44:38 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb  3 18:44:25 2012 +0200| [54255bf5f8844a9f58adb31f10a30ef451fb8d65] | committer: Rémi Denis-Courmont

Linux: add detection for SSE4A

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=54255bf5f8844a9f58adb31f10a30ef451fb8d65
---

 src/posix/linux_cpu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/posix/linux_cpu.c b/src/posix/linux_cpu.c
index 63f184e..d243424 100644
--- a/src/posix/linux_cpu.c
+++ b/src/posix/linux_cpu.c
@@ -99,6 +99,8 @@ static void vlc_CPU_init (void)
             if (!strcmp (cap, "sse4_2"))
                 core_caps |= CPU_CAPABILITY_SSE4_1;
 # endif
+            if (!strcmp (cap, "sse4a"))
+                core_caps |= CPU_CAPABILITY_SSE4A;
 # ifndef __3dNOW__
             if (!strcmp (cap, "3dnow"))
                 core_caps |= CPU_CAPABILITY_3DNOW;



More information about the vlc-commits mailing list