FFmpeg/libswresample/x86
Andreas Rheinhardt d5a47bf2b3 swresample/x86/Makefile: Only compile ASM init files when X86ASM is enabled
To do so, simply add these init files to X86ASM-OBJS instead of OBJS
in the Makefile. The former is already used for the actual assembly
files, but using them for the C init files just works, because the build
system uses file extensions to derive whether it is a C or a NASM file.

This avoids compiling unused function stubs and also reduces our
reliance on DCE: We don't add %if checks to the asm files except
for AVX, AVX2, FMA3, FMA4, XOP and AVX512, so all the MMX-SSE4
functions will be available. It also allows to remove HAVE_X86ASM checks
in these init files.

(x86/ops.c has already been put in X86ASM-OBJS.)

Reviewed-by: Kacper Michajłow <kasper93@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2025-11-30 22:20:13 +01:00
..
Makefile swresample/x86/Makefile: Only compile ASM init files when X86ASM is enabled 2025-11-30 22:20:13 +01:00
audio_convert.asm x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
audio_convert_init.c swresample/x86/audio_convert: Remove obsolete MMX functions 2022-06-14 01:28:29 +02:00
rematrix.asm x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
rematrix_init.c swresample/x86/Makefile: Only compile ASM init files when X86ASM is enabled 2025-11-30 22:20:13 +01:00
resample.asm swresample/x86/resample: Remove obsolete MMXEXT functions 2022-06-14 01:28:29 +02:00
resample_init.c ALL: move av_unused to conform with standard requirement 2025-09-26 16:15:46 +00:00
w64xmmtest.c