Commit Graph

28 Commits

Author SHA1 Message Date
Uoti Urpala b390b9b28f Merge svn changes up to r30185 2010-01-08 01:36:05 +02:00
reimar 485b17cc7d Do not assume that "long" is the size of a register.
Fixes aclib compilation on mingw64 (with --enable-runtime-cpudetection).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30177 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 09:20:01 +00:00
ramiro ca242e5f73 Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29154 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-08 20:21:21 +00:00
diego 17d0933e57 Get rid of pointless preprocessor condition indirection and use ARCH_X86
directly instead of CAN_COMPILE_X86_ASM.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28956 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 10:01:02 +00:00
diego 49f88ad861 Conditionally compile aclib.c instead of placing #ifdef around its content.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28483 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:42:00 +00:00
diego befc528297 Add standard license headers, unify header formatting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:27:30 +00:00
diego eb4a4604c0 HAVE_3DNOW --> HAVE_AMD3DNOW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:29:53 +00:00
reimar f14ff6d054 100l, forgot to delete two defines left over from old HAVE_MMX handling code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28337 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 21:04:52 +00:00
reimar 97df2f9162 More #ifdef HAVE_MMX etc. missed by earlier search.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28327 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:32:54 +00:00
reimar 93d598c7b2 Lots and lots of #ifdef ARCH_... -> #if ARCH_...
and #ifdef HAVE_MMX etc -> #if HAVE_MMX.
There might be still more that need to be fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:21:21 +00:00
diego 4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
lu_zero 9c5ce32cad avoid utter breakage on non-x86, patch from Chris Roccati <roccati@at@pobox.dot.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23543 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 21:58:30 +00:00
reimar 03429e8798 Include string.h to make sure memcpy is not used without prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22000 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 15:28:19 +00:00
reimar 74a504f25b ARCH_X86 simplifications
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20593 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 18:41:25 +00:00
diego 5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
aurel 798d2d1337 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 11:55:20 +00:00
diego 1bd9852166 Unify the config.h #include, use "config.h" instead of "../config.h"
everywhere, will make extracting libvo/ easier.  Approved by Alex.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12651 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 16:58:45 +00:00
reimar 47eb1875d0 fix crash due to fast_memcpy calling itself instead of libc memcpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12493 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-20 21:34:10 +00:00
jkeil a7ad5bd2ff On non-x86 platforms, memcpy was re-implemented in mplayer and was called
recursive.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8128 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-07 19:32:00 +00:00
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
arpi 4f5e15a23a removed nonsense 'inline'
patch by Joey Parrish <joey@yunamusic.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7073 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:28:33 +00:00
michael ee10c93a02 memcpy must return destination ptr patch by Adam <adam@cfar.umd.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5544 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-10 05:23:13 +00:00
michael b70ac58b8e fixing runtime cpudetect with pre SSE cpus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5209 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-19 22:32:45 +00:00
michael 7a4350e4c1 mem2agpcpy()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4682 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-12 23:17:14 +00:00
michael 1ec539d353 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3394 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 15:25:11 +00:00
michael 6c6cc954f5 10-20% faster fastmemcpy :) on my p3 at least but the algo is mostly from "amd athlon processor x86 code optimization guide" so it should be faster for amd chips too, but i fear it might be slower for mem->vram copies (someone should check that, i cant) ... there are 2 #defines to finetune it (BLOCK_SIZE & CONFUSION_FACTOR)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3078 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 19:40:38 +00:00
nickols_k 50f47cfd50 Issues about P3 performance and SSE2 support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1124 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-13 16:12:14 +00:00
nickols_k ada40a6be6 Moving fast_memcpy to separate file (Size optimization)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@699 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-05 13:30:00 +00:00