ffmpeg/libavutil/x86
Andreas Rheinhardt 59d75bf9e4 avutil/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.

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
..
aes.asm avutil/x86/aes: remove a few branches 2025-04-10 12:02:34 -03:00
aes_init.c avutil/x86/aes: remove a few branches 2025-04-10 12:02:34 -03:00
asm.h avutil/x86/asm: Remove wrong comment, rename FF_REG_sp 2025-11-18 20:41:13 +01:00
bswap.h lavu/x86: remove GCC 4.4- stuff 2024-06-13 21:16:16 +03:00
cpu.c swscale: Disable avx2 hscale 8to15 on IceLake and below due to Intel Gather Data Sampling mitigation performance loss 2025-09-06 20:57:48 +00:00
cpu.h avutil/x86/cpu: Remove 3dnow flags, macros 2025-10-25 07:27:11 +02:00
cpuid.asm
emms.asm
fixed_dsp.asm
fixed_dsp_init.c
float_dsp.asm x86/float_dsp: add SSE2 and AVX versions of scalarproduct_double 2024-06-03 22:14:55 -03:00
float_dsp_init.c x86/float_dsp: add SSE2 and AVX versions of scalarproduct_double 2024-06-03 22:14:55 -03:00
imgutils.asm
imgutils_init.c
intmath.h avutil/intmath: use AV_HAS_BUILTIN to detect builtin availability 2025-06-12 14:17:37 +03:00
intreadwrite.h x86/intreadwrite: add SSE2 optimized AV_COPY128U 2024-07-29 23:17:52 -03:00
lls.asm
lls_init.c
Makefile avutil/x86/Makefile: Only compile ASM init files when X86ASM is enabled 2025-11-30 22:20:13 +01:00
pixelutils.asm
pixelutils.h
pixelutils_init.c
timer.h
tx_float.asm x86/tx_float: remove HAVE_AVX2_EXTERNAL checks 2024-10-06 01:32:49 +02:00
tx_float_init.c x86/tx_float: remove HAVE_AVX2_EXTERNAL checks 2024-10-06 01:32:49 +02:00
w64xmmtest.h
x86inc.asm avutil/x86/x86inc: Use parentheses in has_epilogue 2025-11-30 00:15:43 +01:00
x86util.asm