diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-14 20:21:03 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-22 13:38:52 +0200 |
commit | 25e39f8c727190520e1274be9bf0b4b3302587f9 (patch) | |
tree | 41042681f2ca6e49cf44c9c9b9f4b5b67bb0e77d /libavcodec | |
parent | 6cb3ee80b3b58d692a722fb38ee05f170ae8b0d2 (diff) |
avcodec/x86/mpegaudiodsp: Remove obsolete SSE function
The only systems which benefit from imdct36_blocks_sse are truely
ancient 32bit x86s as all other systems use at least the SSE2 versions
(this includes all x64 cpus (which is why this code is restricted
to x86-32)).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/imdct36.asm | 5 | ||||
-rw-r--r-- | libavcodec/x86/mpegaudiodsp.c | 11 |
2 files changed, 0 insertions, 16 deletions
diff --git a/libavcodec/x86/imdct36.asm b/libavcodec/x86/imdct36.asm index b386ab95fc..888c6bf4d6 100644 --- a/libavcodec/x86/imdct36.asm +++ b/libavcodec/x86/imdct36.asm @@ -373,11 +373,6 @@ cglobal imdct36_float, 4,4,9, out, buf, in, win RET %endmacro -%if ARCH_X86_32 -INIT_XMM sse -DEFINE_IMDCT -%endif - INIT_XMM sse2 DEFINE_IMDCT diff --git a/libavcodec/x86/mpegaudiodsp.c b/libavcodec/x86/mpegaudiodsp.c index dcea94a1f5..6586fe0726 100644 --- a/libavcodec/x86/mpegaudiodsp.c +++ b/libavcodec/x86/mpegaudiodsp.c @@ -34,9 +34,6 @@ static void imdct36_blocks_ ## CPU(float *out, float *buf, float *in, int count, void ff_imdct36_float_ ## CPU(float *out, float *buf, float *in, float *win); #if HAVE_X86ASM -#if ARCH_X86_32 -DECL(sse) -#endif DECL(sse2) DECL(sse3) DECL(ssse3) @@ -230,9 +227,6 @@ static void imdct36_blocks_ ## CPU1(float *out, float *buf, float *in, \ } #if HAVE_SSE -#if ARCH_X86_32 -DECL_IMDCT_BLOCKS(sse,sse) -#endif DECL_IMDCT_BLOCKS(sse2,sse) DECL_IMDCT_BLOCKS(sse3,sse) DECL_IMDCT_BLOCKS(ssse3,sse) @@ -271,11 +265,6 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s) #if HAVE_X86ASM #if HAVE_SSE -#if ARCH_X86_32 - if (EXTERNAL_SSE(cpu_flags)) { - s->imdct36_blocks_float = imdct36_blocks_sse; - } -#endif if (EXTERNAL_SSE2(cpu_flags)) { s->imdct36_blocks_float = imdct36_blocks_sse2; } |