diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-07 02:06:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-22 13:30:43 +0200 |
commit | 7284ab789d5fe271b9d6a1666ab5ea6be8724cca (patch) | |
tree | eaaa5d6d62ec35bfc8e33a0c3e0eb765fe3bb9bc /libavcodec/x86/mpegvideoenc_template.c | |
parent | d29a9c2aa68fc3eb6d61ff95c698e29316037583 (diff) | |
download | ffmpeg-7284ab789d5fe271b9d6a1666ab5ea6be8724cca.tar.gz |
avcodec/x86/mpegvideoenc: Remove obsolete MMX(EXT) functions
x64 always has MMX, MMXEXT, SSE and SSE2 and this means
that some functions for MMX, MMXEXT and 3dnow are always
overridden by other functions (unless one e.g. explicitly
disables SSE2) for x64. So given that the only systems that
benefit from these functions are truely ancient 32bit x86s
they are removed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/x86/mpegvideoenc_template.c')
-rw-r--r-- | libavcodec/x86/mpegvideoenc_template.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/x86/mpegvideoenc_template.c b/libavcodec/x86/mpegvideoenc_template.c index 30c06a6b2c..b5b0a5ffa2 100644 --- a/libavcodec/x86/mpegvideoenc_template.c +++ b/libavcodec/x86/mpegvideoenc_template.c @@ -57,15 +57,6 @@ #define MMREG_WIDTH "8" #define MM "%%mm" #define MOVQ "movq" -#if COMPILE_TEMPLATE_MMXEXT -#define SPREADW(a) "pshufw $0, "a", "a" \n\t" -#define PMAXW(a,b) "pmaxsw "a", "b" \n\t" -#define PMAX(a,b) \ - "pshufw $0x0E, "a", "b" \n\t"\ - PMAXW(b, a)\ - "pshufw $0x01, "a", "b" \n\t"\ - PMAXW(b, a) -#else #define SPREADW(a) \ "punpcklwd "a", "a" \n\t"\ "punpcklwd "a", "a" \n\t" @@ -81,7 +72,6 @@ PMAXW(b, a) #endif -#endif #if COMPILE_TEMPLATE_SSSE3 #define SAVE_SIGN(a,b) \ |