Commit Graph

39 Commits

Author SHA1 Message Date
reimar 46070615c3 ensure null-termination after snprintf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14479 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 21:56:25 +00:00
aurel 2de16c0b07 assume OS support SSE on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14456 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-10 18:33:51 +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 4cba6fba71 Remove CPU speed detection since
- it is unreliable
- it adds a constant 0.1s to startup time
- it is hardly a feature for a movie player


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13629 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-13 09:37:32 +00:00
faust3 d16ace11a2 disable buggy sse on mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12614 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-18 20:56:06 +00:00
alex 3dfa4b010c SSE support under OpenBSD, patch by Bjorn Sandell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12144 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 17:08:02 +00:00
faust3 971bb1dd0f reenable SSE support for mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12088 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-01 10:19:57 +00:00
gabucino 919589e13a architecture type reporting for non-x86 CPUs (try 2, tested on x86 and x86-64)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11963 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-16 23:44:05 +00:00
atmos4 29b5d5b8f5 more exact cpu mhz detect for fats cpus (remove rounding)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10956 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-28 01:45:54 +00:00
atmos4 d6825d6349 cpuspeed detection for X86 TSC capable CPUs (also added TSC detection, should best be verified by some people with TSC/nonTSC capable CPUs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10886 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-19 23:52:41 +00:00
faust3 a79caf17d6 disable sse support for mingw because of missing memalign
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10824 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-06 12:06:59 +00:00
faust3 fcc160e01c SSE os support detection for windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10441 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-19 12:25:18 +00:00
alex 0ee250f912 1l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9325 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 21:58:09 +00:00
arpi 54cbe5eec3 The two attached patches *should* allow for proper
compilation of the AltiVec stuff on both Darwin
and non-Darwin system. They've only been tested
for compilation on Debian using Debian's gcc-3.2.
Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9123 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-27 21:47:25 +00:00
arpi 66e6173c0c AltiVec detection code ("borrowed" from FFmpeg and
libmpeg2) & enough code to enable the AltiVec IMDCT
    in liba52 and the DCT64 in mp3lib.
patch by Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9004 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 19:29:46 +00:00
arpi 3a250d3760 cpu cache line length detection
from mplayerxp (Nick Kurshev <nickols_k@mail.ru>)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8861 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 18:39:09 +00:00
arpi 38c4cdcfc5 Ok, here is a better patch, which even adds a fix to compile it on older
NetBSD systems, there was a ; missing.
patch by Bernd Ernesti <mplayer@lists.veego.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8534 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-23 01:24:42 +00:00
atmos4 bae716c763 Runtime SSE detection for NEtBSD, patch by Nick Hudson <skrll at netbsd.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8402 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-07 21:04:54 +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 de946003a5 more cpudetect cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6136 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 01:00:51 +00:00
arpi 77b430d1ad cosmetics on CPU detection messages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6135 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 00:55:50 +00:00
albeu 55afd4ed10 printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5938 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 11:00:16 +00:00
michael 7ef7eddfc5 dont ignore --disable-mmx, ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4830 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-24 01:24:18 +00:00
alex c69f516fb8 fix for qnx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3851 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 20:46:25 +00:00
arpi 0d3f9a091d Intel P4 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3841 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 18:23:35 +00:00
pl 97699024c9 warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3838 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 18:03:03 +00:00
pl 8ee5b68534 memset is more portable than bzero ("BSD"ism)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3701 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 10:35:43 +00:00
alex 676d9cfebd added cpuStepping to CpuCaps struct (needed win32.c)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3404 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 17:03:04 +00:00
michael 43e9762862 non x86 fix (otherwise we would need #ifdef ARCH_X86 around every if(gCpuCaps.has...))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3147 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 23:08:48 +00:00
pl 01e821cd5d removed warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2418 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 13:02:44 +00:00
pl a46e600619 returns a malloc()'ed string instead of an auto char[]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2304 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 11:16:47 +00:00
atmos4 690490f7d0 Detect and show cpu name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2302 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 02:35:31 +00:00
arpi 73ac31380d final fix?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2289 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 14:02:12 +00:00
pontscho e890543a4c amd...?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2285 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:28:59 +00:00
arpi 236f115d9b fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2283 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:11:26 +00:00
arpi 637ead4353 fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2282 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:09:26 +00:00
pontscho f8ce675a2f amd fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2281 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:01:31 +00:00
arpi a16cebf64a cpu detection fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2273 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 02:00:45 +00:00
arpi 7564f37de2 cpu detect code by Eric Anholt <eanholt@gladstone.uoregon.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2269 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 00:40:19 +00:00