Commit 72f8cc62 authored by Henrik Gramner's avatar Henrik Gramner

build: Split x86 asm files per bitdepth

parent 3f2bb0d9
...@@ -118,20 +118,30 @@ if is_asm_enabled ...@@ -118,20 +118,30 @@ if is_asm_enabled
# NASM source files # NASM source files
libdav1d_sources_asm = files( libdav1d_sources_asm = files(
'x86/cdef.asm',
'x86/cdef_ssse3.asm',
'x86/cpuid.asm', 'x86/cpuid.asm',
'x86/ipred.asm',
'x86/itx.asm',
'x86/loopfilter.asm',
'x86/looprestoration.asm',
'x86/looprestoration_ssse3.asm',
'x86/mc.asm',
'x86/mc_ssse3.asm',
'x86/itx_ssse3.asm',
'x86/ipred_ssse3.asm',
) )
if dav1d_bitdepths.contains('8')
libdav1d_sources_asm += files(
'x86/cdef.asm',
'x86/cdef_ssse3.asm',
'x86/ipred.asm',
'x86/ipred_ssse3.asm',
'x86/itx.asm',
'x86/itx_ssse3.asm',
'x86/loopfilter.asm',
'x86/looprestoration.asm',
'x86/looprestoration_ssse3.asm',
'x86/mc.asm',
'x86/mc_ssse3.asm',
)
endif
if dav1d_bitdepths.contains('16')
libdav1d_sources_asm += files(
)
endif
# Compile the ASM sources with NASM # Compile the ASM sources with NASM
libdav1d_nasm_objs = nasm_gen.process(libdav1d_sources_asm) libdav1d_nasm_objs = nasm_gen.process(libdav1d_sources_asm)
endif endif
......
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