fmt-ops: add avx2 optimized version

Only one optimized version but the sse2 version are compiled with
the avx2 flags so that they get optimized better.
This commit is contained in:
Wim Taymans 2020-03-16 16:11:29 +01:00
parent 6eca935e61
commit 3a911dfe3b
7 changed files with 821 additions and 28 deletions

View file

@ -200,5 +200,13 @@ DEFINE_FUNCTION(s24_to_f32d, ssse3);
#endif
#if defined(HAVE_SSE41)
DEFINE_FUNCTION(s24_to_f32d, sse41);
#endif
#if defined(HAVE_AVX2)
DEFINE_FUNCTION(s16_to_f32d_2, avx2);
DEFINE_FUNCTION(s16_to_f32d, avx2);
DEFINE_FUNCTION(s24_to_f32d, avx2);
DEFINE_FUNCTION(s32_to_f32d, avx2);
DEFINE_FUNCTION(f32d_to_s32, avx2);
DEFINE_FUNCTION(f32d_to_s16_2, avx2);
DEFINE_FUNCTION(f32d_to_s16, avx2);
#endif