mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-11 06:58:18 +00:00
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>
This commit is contained in:
parent
6cb3ee80b3
commit
25e39f8c72
@ -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
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user