diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-11 02:45:08 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-22 13:36:57 +0200 |
commit | ec735579814b6b73e17da601ff011a918c49e40f (patch) | |
tree | da4d3c35a7295fae3702ec13c8641ea6d77db933 /libavcodec/x86/fft_init.c | |
parent | ea043cc53ed3506775ec6239ed5f8a20718b1098 (diff) | |
download | ffmpeg-ec735579814b6b73e17da601ff011a918c49e40f.tar.gz |
avcodec/x86/fft: Remove obsolete 3dnow functions
x64 always has MMX, MMXEXT, SSE and SSE2 and this means
that some functions for MMX, MMXEXT, SSE and 3dnow are always
overridden by other functions (unless one e.g. explicitly
disables SSE2). So given that the only systems which benefit
from the 3dnow implementations are truely ancient 32bit AMD x86s
they are removed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/x86/fft_init.c')
-rw-r--r-- | libavcodec/x86/fft_init.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/x86/fft_init.c b/libavcodec/x86/fft_init.c index 928f1dcda7..df79d57dc7 100644 --- a/libavcodec/x86/fft_init.c +++ b/libavcodec/x86/fft_init.c @@ -31,20 +31,6 @@ av_cold void ff_fft_init_x86(FFTContext *s) if (s->nbits > 16) return; -#if ARCH_X86_32 - if (EXTERNAL_AMD3DNOW(cpu_flags)) { - s->imdct_calc = ff_imdct_calc_3dnow; - s->imdct_half = ff_imdct_half_3dnow; - s->fft_calc = ff_fft_calc_3dnow; - } - - if (EXTERNAL_AMD3DNOWEXT(cpu_flags)) { - s->imdct_calc = ff_imdct_calc_3dnowext; - s->imdct_half = ff_imdct_half_3dnowext; - s->fft_calc = ff_fft_calc_3dnowext; - } -#endif /* ARCH_X86_32 */ - if (EXTERNAL_SSE(cpu_flags)) { s->imdct_calc = ff_imdct_calc_sse; s->imdct_half = ff_imdct_half_sse; |