summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
Commit message (Collapse)AuthorAgeFilesLines
* add Amiga-style AltiVec detection, patch from andrea at amigasoft dot netpacman2006-02-281-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17703 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not show cache-line size message, I've never seen a case where it was usefulreimar2005-11-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16944 b3059339-0415-0410-9bf9-f77b7e298cf2
* according to Intel/AMD official documentations, CPU family should be ↵gpoirier2005-10-041-2/+5
| | | | | | | | | | | | | | displayed as the sum of CPUID's family field and extended family field when a CPU has a CPUID family 0xF. Patch by Zuxy <zuxy POIS meng AH gmail POIS com> Original thread: Date: Oct 2, 2005 11:08 AM Subject: [MPlayer-dev-eng] [Patch] Correction of P4 family CPUs detection in cputable.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16663 b3059339-0415-0410-9bf9-f77b7e298cf2
* DragonFly BSD supportdiego2005-05-251-3/+3
| | | | | | | patch by Joerg Sonnenberger <joerg - at - britannica - dot - bec - dot - de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15567 b3059339-0415-0410-9bf9-f77b7e298cf2
* ensure null-termination after snprintfreimar2005-01-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14479 b3059339-0415-0410-9bf9-f77b7e298cf2
* assume OS support SSE on x86_64aurel2005-01-101-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14456 b3059339-0415-0410-9bf9-f77b7e298cf2
* adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64aurel2004-10-211-13/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove CPU speed detection sincediego2004-10-131-42/+4
| | | | | | | | | - 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
* disable buggy sse on mingwfaust32004-06-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12614 b3059339-0415-0410-9bf9-f77b7e298cf2
* SSE support under OpenBSD, patch by Bjorn Sandellalex2004-04-061-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12144 b3059339-0415-0410-9bf9-f77b7e298cf2
* reenable SSE support for mingwfaust32004-04-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12088 b3059339-0415-0410-9bf9-f77b7e298cf2
* architecture type reporting for non-x86 CPUs (try 2, tested on x86 and x86-64)gabucino2004-02-161-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11963 b3059339-0415-0410-9bf9-f77b7e298cf2
* more exact cpu mhz detect for fats cpus (remove rounding)atmos42003-09-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10956 b3059339-0415-0410-9bf9-f77b7e298cf2
* cpuspeed detection for X86 TSC capable CPUs (also added TSC detection, ↵atmos42003-09-191-10/+50
| | | | | | 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
* disable sse support for mingw because of missing memalignfaust32003-09-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10824 b3059339-0415-0410-9bf9-f77b7e298cf2
* SSE os support detection for windowsfaust32003-07-191-1/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10441 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1lalex2003-02-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9325 b3059339-0415-0410-9bf9-f77b7e298cf2
* The two attached patches *should* allow for properarpi2003-01-271-1/+1
| | | | | | | | | | 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
* AltiVec detection code ("borrowed" from FFmpeg andarpi2003-01-181-0/+62
| | | | | | | | | 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
* cpu cache line length detectionarpi2003-01-091-2/+12
| | | | | | | from mplayerxp (Nick Kurshev <nickols_k@mail.ru>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8861 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ok, here is a better patch, which even adds a fix to compile it on olderarpi2002-12-231-32/+28
| | | | | | | | 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
* Runtime SSE detection for NEtBSD, patch by Nick Hudson <skrll at netbsd.org>atmos42002-12-071-1/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8402 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-0/+1
| | | | | | | 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
* more cpudetect cosmeticsarpi2002-05-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6136 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics on CPU detection messagesarpi2002-05-201-22/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6135 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgalbeu2002-05-021-34/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5938 b3059339-0415-0410-9bf9-f77b7e298cf2
* dont ignore --disable-mmx, ...michael2002-02-241-0/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4830 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for qnxalex2001-12-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3851 b3059339-0415-0410-9bf9-f77b7e298cf2
* Intel P4 supportarpi2001-12-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3841 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixpl2001-12-281-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3838 b3059339-0415-0410-9bf9-f77b7e298cf2
* memset is more portable than bzero ("BSD"ism)pl2001-12-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3701 b3059339-0415-0410-9bf9-f77b7e298cf2
* added cpuStepping to CpuCaps struct (needed win32.c)alex2001-12-091-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3404 b3059339-0415-0410-9bf9-f77b7e298cf2
* non x86 fix (otherwise we would need #ifdef ARCH_X86 around every ↵michael2001-11-261-6/+24
| | | | | | if(gCpuCaps.has...)) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3147 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed warningpl2001-10-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2418 b3059339-0415-0410-9bf9-f77b7e298cf2
* returns a malloc()'ed string instead of an auto char[]pl2001-10-201-4/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2304 b3059339-0415-0410-9bf9-f77b7e298cf2
* Detect and show cpu name.atmos42001-10-201-1/+49
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2302 b3059339-0415-0410-9bf9-f77b7e298cf2
* final fix?arpi2001-10-191-70/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2289 b3059339-0415-0410-9bf9-f77b7e298cf2
* amd...?pontscho2001-10-191-0/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2285 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed?arpi2001-10-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2283 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed?arpi2001-10-191-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2282 b3059339-0415-0410-9bf9-f77b7e298cf2
* amd fixpontscho2001-10-191-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2281 b3059339-0415-0410-9bf9-f77b7e298cf2
* cpu detection fixedarpi2001-10-191-30/+58
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2273 b3059339-0415-0410-9bf9-f77b7e298cf2
* cpu detect code by Eric Anholt <eanholt@gladstone.uoregon.edu>arpi2001-10-191-0/+267
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2269 b3059339-0415-0410-9bf9-f77b7e298cf2