aboutsummaryrefslogtreecommitdiffhomepage
path: root/cpudetect.c
Commit message (Collapse)AuthorAge
* Fix warning:Gravatar diego2007-10-01
| | | | | | | | cpudetect.c: In function 'check_os_katmai_support': cpudetect.c:395: warning: unused variable 'saved_sigfpe' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24684 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable SSE on MinGW, many builds out there seem to use it without ill effect.Gravatar diego2007-09-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24662 b3059339-0415-0410-9bf9-f77b7e298cf2
* sigill_handler_sse is not needed and can not compile on 64 bit systemsGravatar reimar2007-09-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24460 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not check for X86_FXSR_MAGIC define, it is missing in newerGravatar reimar2007-09-14
| | | | | | | distribution/kernel headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused sigfpe handlerGravatar reimar2007-09-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24458 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove test for SSE exception support that has been commented out since ages.Gravatar reimar2007-09-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24457 b3059339-0415-0410-9bf9-f77b7e298cf2
* GNU/kFreeBSD support, closes Bugzilla #704.Gravatar diego2007-01-10
| | | | | | | patch by Petr Salinger, Petr.Salinger seznam cz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21866 b3059339-0415-0410-9bf9-f77b7e298cf2
* ARCH_X86 simplificationsGravatar reimar2006-11-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20593 b3059339-0415-0410-9bf9-f77b7e298cf2
* Detect sse/2 on intel mac, Valtteri Vuorikoski(vuori@sci.fi)Gravatar nplourde2006-10-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20058 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary void* casts - part 1Gravatar reynaldo2006-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
* Typo: use ptmpstr instead of tmpstr to strip leading spaces + add Gravatar gpoirier2006-06-25
| | | | | | | | | | | | comment Patch by Zuxy Meng ##zuxy P meng AH gmail P com## --Cette ligne, et les suivantes ci-dessous, seront ignorées-- M cpudetect.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18820 b3059339-0415-0410-9bf9-f77b7e298cf2
* Retrieve CPU built-in namestring, and if it exists, print it during cpu ↵Gravatar gpoirier2006-05-17
| | | | | | detection; t it doesn't exist, fallback to the cpu table. Patch by Zuxy Meng git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18539 b3059339-0415-0410-9bf9-f77b7e298cf2
* add Amiga-style AltiVec detection, patch from andrea at amigasoft dot netGravatar pacman2006-02-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17703 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | 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 usefulGravatar reimar2005-11-07
| | | | 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 ↵Gravatar gpoirier2005-10-04
| | | | | | | | | | | | | | 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 supportGravatar diego2005-05-25
| | | | | | | 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 snprintfGravatar reimar2005-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14479 b3059339-0415-0410-9bf9-f77b7e298cf2
* assume OS support SSE on x86_64Gravatar aurel2005-01-10
| | | | 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_64Gravatar aurel2004-10-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove CPU speed detection sinceGravatar diego2004-10-13
| | | | | | | | | - 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 mingwGravatar faust32004-06-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12614 b3059339-0415-0410-9bf9-f77b7e298cf2
* SSE support under OpenBSD, patch by Bjorn SandellGravatar alex2004-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12144 b3059339-0415-0410-9bf9-f77b7e298cf2
* reenable SSE support for mingwGravatar faust32004-04-01
| | | | 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)Gravatar gabucino2004-02-16
| | | | 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)Gravatar atmos42003-09-28
| | | | 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, ↵Gravatar atmos42003-09-19
| | | | | | 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 memalignGravatar faust32003-09-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10824 b3059339-0415-0410-9bf9-f77b7e298cf2
* SSE os support detection for windowsGravatar faust32003-07-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10441 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1lGravatar alex2003-02-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9325 b3059339-0415-0410-9bf9-f77b7e298cf2
* The two attached patches *should* allow for properGravatar arpi2003-01-27
| | | | | | | | | | 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 andGravatar arpi2003-01-18
| | | | | | | | | 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 detectionGravatar arpi2003-01-09
| | | | | | | 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 olderGravatar arpi2002-12-23
| | | | | | | | 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>Gravatar atmos42002-12-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8402 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalGravatar arpi2002-11-06
| | | | | | | 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 cosmeticsGravatar arpi2002-05-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6136 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics on CPU detection messagesGravatar arpi2002-05-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6135 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgGravatar albeu2002-05-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5938 b3059339-0415-0410-9bf9-f77b7e298cf2
* dont ignore --disable-mmx, ...Gravatar michael2002-02-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4830 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for qnxGravatar alex2001-12-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3851 b3059339-0415-0410-9bf9-f77b7e298cf2
* Intel P4 supportGravatar arpi2001-12-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3841 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixGravatar pl2001-12-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3838 b3059339-0415-0410-9bf9-f77b7e298cf2
* memset is more portable than bzero ("BSD"ism)Gravatar pl2001-12-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3701 b3059339-0415-0410-9bf9-f77b7e298cf2
* added cpuStepping to CpuCaps struct (needed win32.c)Gravatar alex2001-12-09
| | | | 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 ↵Gravatar michael2001-11-26
| | | | | | if(gCpuCaps.has...)) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3147 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed warningGravatar pl2001-10-23
| | | | 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[]Gravatar pl2001-10-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2304 b3059339-0415-0410-9bf9-f77b7e298cf2
* Detect and show cpu name.Gravatar atmos42001-10-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2302 b3059339-0415-0410-9bf9-f77b7e298cf2
* final fix?Gravatar arpi2001-10-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2289 b3059339-0415-0410-9bf9-f77b7e298cf2