From 273a6623e7b97bb133486707a656f00209820b43 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 29 Jul 2012 14:28:41 +0200 Subject: 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. --- configure | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 5638d07f7c..dee290d63d 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3