vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Aug 4 17:28:05 2012 +0300| [7904e8f067f4c28fdcc0049e09e4b871690a3049] | committer: Rémi Denis-Courmont
Linux detection for AVX and friends > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7904e8f067f4c28fdcc0049e09e4b871690a3049 --- src/posix/linux_cpu.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/posix/linux_cpu.c b/src/posix/linux_cpu.c index cc33db2..c3ca15b 100644 --- a/src/posix/linux_cpu.c +++ b/src/posix/linux_cpu.c @@ -85,8 +85,16 @@ static void vlc_CPU_init (void) core_caps |= VLC_CPU_SSE4_1; if (!strcmp (cap, "sse4a")) core_caps |= VLC_CPU_SSE4A; + if (!strcmp (cap, "avx")) + core_caps |= VLC_CPU_AVX; + if (!strcmp (cap, "avx2")) + core_caps |= VLC_CPU_AVX2; if (!strcmp (cap, "3dnow")) core_caps |= VLC_CPU_3dNOW; + if (!strcmp (cap, "xop")) + core_caps |= VLC_CPU_XOP; + if (!strcmp (cap, "fma4")) + core_caps |= VLC_CPU_FMA4; #elif defined (__powerpc__) || defined (__powerpc64__) if (!strcmp (cap, "altivec supported")) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
