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 libavutil: include assembly with full path from source root 2022-02-08 10:42:26 +01:00
emms.asm libavutil: include assembly with full path from source root 2022-02-08 10:42:26 +01:00
fixed_dsp.asm libavutil: include assembly with full path from source root 2022-02-08 10:42:26 +01:00
fixed_dsp_init.c configure: Remove av_restrict 2024-03-15 12:51:15 +01:00
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 Merge commit '6be7944ee2' 2017-03-23 18:05:27 -03:00
imgutils_init.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
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 x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
lls_init.c Include attributes.h directly 2021-04-19 14:34:10 +02:00
Makefile avutil/x86/Makefile: Only compile ASM init files when X86ASM is enabled 2025-11-30 22:20:13 +01:00
pixelutils.asm avutil/x86/pixelutils: Empty MMX state in ff_pixelutils_sad_8x8_mmxext 2023-11-04 01:26:03 +01:00
pixelutils.h avutil: add pixelutils API 2014-08-05 21:05:52 +02:00
pixelutils_init.c avutil/x86/pixelutils: Remove obsolete MMX(EXT) functions 2022-06-22 13:36:44 +02:00
timer.h Merge commit 'd1a6cb195f' 2015-07-09 12:28:09 +02:00
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 all: Add missing header guards 2016-01-28 19:49:48 -08:00
x86inc.asm avutil/x86/x86inc: Use parentheses in has_epilogue 2025-11-30 00:15:43 +01:00
x86util.asm avutil/x86util: Fix broken pre-SSE4.1 PMINSD emulation 2024-03-17 13:52:27 +01:00