diff options
author | wm4 <wm4@nowhere> | 2012-07-29 14:28:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-07-30 01:33:40 +0200 |
commit | 273a6623e7b97bb133486707a656f00209820b43 (patch) | |
tree | 52bbe0508d02e58a9bb731ecefc414a1d08d4d0b /configure | |
parent | 94b7db20bcb82efba04bf5c56fea3f545d547b12 (diff) | |
download | mpv-273a6623e7b97bb133486707a656f00209820b43.tar.bz2 mpv-273a6623e7b97bb133486707a656f00209820b43.tar.xz |
libvo: remove custom assembler memcpy implementations (aka fastmemcpy)
aclib[_template].c contained inline assembler versions of memcpy using
MMX/SSE/3dnow etc. instructions. It's possible that this gave quite a
speed a decade ago, but it's unlikely to have any use on modern
systems. Also, libc implementations already have their own
optimizations for the native memcpy function.
I did not verify my assumptions eith benchmarks, so I could be wrong.
Also note that some platforms have extremely crappy libc
implementations, and it's well possible that these might suffer from a
major performance loss (hello Windows). Unfortunately, I do not care.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -454,7 +454,6 @@ Advanced options: --enable-armvfp enable ARM VFP (ARM) [autodetect] --enable-neon enable NEON (ARM) [autodetect] --enable-iwmmxt enable iWMMXt (ARM) [autodetect] - --disable-fastmemcpy disable 3DNow!/SSE/MMX optimized memcpy [enable] --enable-big-endian force byte order to big-endian [autodetect] --enable-debug[=1-3] compile-in debugging information [disable] --enable-profile compile-in profiling information [disable] @@ -569,7 +568,6 @@ _xinerama=auto _vm=auto _xf86keysym=auto _alsa=auto -_fastmemcpy=yes _unrar_exec=auto _win32dll=no _select=yes @@ -885,8 +883,6 @@ for ac_option do --disable-radio-bsdbt848) _radio_bsdbt848=no ;; --enable-pvr) _pvr=yes ;; --disable-pvr) _pvr=no ;; - --enable-fastmemcpy) _fastmemcpy=yes ;; - --disable-fastmemcpy) _fastmemcpy=no ;; --enable-networking) networking=yes ;; --disable-networking) networking=no ;; --enable-winsock2_h) _winsock2_h=yes ;; @@ -2744,15 +2740,6 @@ fi echores "$_alloca" -echocheck "fastmemcpy" -if test "$_fastmemcpy" = yes ; then - def_fastmemcpy='#define CONFIG_FASTMEMCPY 1' -else - def_fastmemcpy='#undef CONFIG_FASTMEMCPY' -fi -echores "$_fastmemcpy" - - echocheck "mman.h" _mman=no statement_check sys/mman.h 'mmap(0, 0, 0, 0, 0, 0)' && _mman=yes @@ -5484,7 +5471,6 @@ DVDREAD = $_dvdread DVDREAD_INTERNAL = $_dvdread_internal DXR3 = $_dxr3 FAAD = $_faad -FASTMEMCPY = $_fastmemcpy FTP = $_ftp GIF = $_gif GL = $_gl @@ -5704,7 +5690,6 @@ $def_unrar_exec $def_charset $def_crash_debug $def_debug -$def_fastmemcpy $def_runtime_cpudetection $def_sighandler $def_sortsub |