diff options
author | Nathan E. Egge <unlord@xiph.org> | 2021-01-16 19:13:41 +0300 |
---|---|---|
committer | Nathan Egge <unlord@xiph.org> | 2021-02-17 15:21:26 +0300 |
commit | bfbee8607b0fbc57ce8d52a0b7e14f253f3f8df4 (patch) | |
tree | fdbe13950c834caf5bf3fbe49140e3f829f67088 /src/meson.build | |
parent | ec95ea52cb1ed0bb59bf50ea14156b12cf78654c (diff) |
x86: cdef: Add SIMD implementation of cdef_dir for 16bpc
Relative speed-ups over C code (compared with gcc-9.3.0):
C ASM
cdef_dir_16bpc_avx2: 534.2 72.5 7.36x
cdef_dir_16bpc_ssse3: 534.2 104.8 5.10x
cdef_dir_16bpc_ssse3 (x86-32): 854.1 116.2 7.35x
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build index ca0b406..2794650 100644 --- a/src/meson.build +++ b/src/meson.build @@ -184,20 +184,20 @@ if is_asm_enabled libdav1d_sources_asm = files( 'x86/cpuid.asm', 'x86/msac.asm', + 'x86/cdef_avx2.asm', + 'x86/cdef_sse.asm', ) if dav1d_bitdepths.contains('8') libdav1d_sources_asm += files( 'x86/cdef_avx512.asm', 'x86/mc_avx512.asm', - 'x86/cdef_avx2.asm', 'x86/mc_avx2.asm', 'x86/film_grain.asm', 'x86/ipred.asm', 'x86/itx.asm', 'x86/loopfilter.asm', 'x86/looprestoration.asm', - 'x86/cdef_sse.asm', 'x86/film_grain_ssse3.asm', 'x86/ipred_ssse3.asm', 'x86/itx_ssse3.asm', @@ -209,6 +209,8 @@ if is_asm_enabled if dav1d_bitdepths.contains('16') libdav1d_sources_asm += files( + 'x86/cdef16_avx2.asm', + 'x86/cdef16_sse.asm', ) endif |