Commit aea55cc9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avcodec: add AVX, XOP, FMA4

parent 7904e8f0
......@@ -67,7 +67,18 @@ unsigned GetVlcDspMask( void )
if( !vlc_CPU_SSE4_2() )
mask |= AV_CPU_FLAG_SSE42;
# endif
// TODO: AVX
# ifdef AV_CPU_FLAG_AVX
if( !vlc_CPU_AVX() )
mask |= AV_CPU_FLAG_AVX;
# endif
# ifdef AV_CPU_FLAG_XOP
if( !vlc_CPU_XOP() )
mask |= AV_CPU_FLAG_XOP;
# endif
# ifdef AV_CPU_FLAG_FMA4
if( !vlc_CPU_FMA4() )
mask |= AV_CPU_FLAG_FMA4;
# endif
#endif
#if defined (__ppc__) || defined (__ppc64__) || defined (__powerpc__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment