aboutsummaryrefslogtreecommitdiffhomepage
path: root/cpudetect.c
Commit message (Collapse)AuthorAge
* Move code to avoid forward declarations in top-level .c filesGravatar diego2010-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32421 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader: Reuse do_cpuid from cpudetect.c in loader/win32.cGravatar reimar2010-11-02
| | | | | | Also avoids several "used uninitialized" warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31905 b3059339-0415-0410-9bf9-f77b7e298cf2
* cpuid.c: Remove outdated codeGravatar reimar2010-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31904 b3059339-0415-0410-9bf9-f77b7e298cf2
* the great MPlayer tab removal: part IIGravatar diego2010-05-03
| | | | | | | some extra indentation fixes are put in as a bonus git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31134 b3059339-0415-0410-9bf9-f77b7e298cf2
* Leave disabling SSE to the check_os_katmai_support always regardless of OS,Gravatar reimar2010-03-27
| | | | | | | | it can already handle all cases, will always print a proper warning and probably fixes SSE being disabled on x86_64 Solaris systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30971 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename SGI_MIPS architecture to plain MIPS.Gravatar diego2010-03-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add license header to all top-level files missing them.Gravatar diego2010-01-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.Gravatar ramiro2009-04-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary malloc.h #includes and related #ifdeffery.Gravatar diego2009-04-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync cpuid detection code with libavcodec: assume it is always available on ↵Gravatar reimar2009-03-27
| | | | | | x86_64 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29069 b3059339-0415-0410-9bf9-f77b7e298cf2
* SSE3 support patch by Zhou Zongyi, zhouzongyi pset.suntec netGravatar diego2009-03-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28936 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of the outdated and unmaintained CPU codename table.Gravatar zuxy2009-02-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28704 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:Gravatar diego2009-02-17
| | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print information about detected CPU in verbose mode only.Gravatar diego2009-02-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use OS preprocessor checks with '#if defined()' consistently.Gravatar diego2009-01-30
| | | | | | | Avoids undefined preprocessor directives warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace another bunch of '#if HAVE_FOO' preprocessor checks by 'if (HAVE_FOO)'.Gravatar diego2009-01-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28377 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOW --> HAVE_AMD3DNOWGravatar diego2009-01-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOWEX --> HAVE_3DNOWEXTGravatar diego2009-01-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28361 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix wrong #ifdef/#ifndef -> #if conversion in r28323Gravatar gpoirier2009-01-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28332 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a wrongly converted !defined(ARCH_X86_64)Gravatar reimar2009-01-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28330 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix first handful of #if vs. #ifdef for ARCH_, HAVE_SSE etc.Gravatar reimar2009-01-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28323 b3059339-0415-0410-9bf9-f77b7e298cf2
* one more ARCH_ARMV4L --> ARCH_ARM, patch by Guillaume Lecerf, foxcore gmail comGravatar diego2009-01-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28320 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set and use only ARCH_PPC, not also ARCH_POWERPC.Gravatar diego2008-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28196 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct detection of SSSE3 and SSE4a feature bits.Gravatar zuxy2008-11-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28049 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace pushf/popf by explicit pushfl/popfl (32 bit) or pushfq/popfqGravatar cehoyos2008-11-25
| | | | | | | | (x86_64), to fix generated code on ICC 11.0. Original FFmpeg patch by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of x86 CPU features SSSE3 and SSE4a.Gravatar gpoirier2008-11-19
| | | | | | | | | | Patch by Zhou, Zongyi %zz65 A cornell P edu% Original thread: date: Wed, Nov 19, 2008 at 4:22 PM subject: Re: [MPlayer-dev-eng] [PATCH] yadif SSE2/SSSE3 optimization git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27960 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.Gravatar diego2008-10-16
| | | | | | | | We were using an inconsistent mix of the three variants and 'volatile' should be the most correct and portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.Gravatar diego2008-10-16
| | | | | | | Neither variant is valid C99 syntax, but __asm__ is the most portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.Gravatar diego2008-10-13
| | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify cpudetect OS-support detection code, e.g. using one mp_msg to print ↵Gravatar reimar2008-09-18
| | | | | | | | | either yes or no instead of two. Should not change code behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless '#if 1 [...] #endif' around has_cpuid() function.Gravatar diego2008-08-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27491 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove useless parentheses from return statements.Gravatar diego2008-05-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Wrap HAVE_XXX macros with RUNTIME_CPUDETECT, because when RUNTIME_CPUDETECT isGravatar diego2008-02-24
| | | | | | | | enabled, checking HAVE_XXX and disabling that CPU feature is meaningless. patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26094 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable SSE detection on OS/2.Gravatar diego2008-02-24
| | | | | | | patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26093 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Break one unreadable long line.Gravatar diego2008-02-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26092 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add #include <sys/sysctl.h> for Mac OS X, fixes the warningGravatar diego2008-02-24
| | | | | | | | cpudetect.c:344: warning: implicit declaration of function sysctlbyname patch by Elias Pipping, elias pipping org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26085 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for xtensa CPU architectureGravatar diego2007-12-11
| | | | | | | patch by Dan Nicolaescu (dann ics.uci edu), Reimar and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly simplify preprocessor conditionals.Gravatar diego2007-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ahem, fix breakage of last commit: The AltiVec detection code has threeGravatar diego2007-12-11
| | | | | | | sections, namely OS X, AMIGAOS4 and the rest. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25366 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant and obfuscating preprocessor conditional.Gravatar diego2007-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25358 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace SYS_DARWIN conditional by the more correct __APPLE__.Gravatar diego2007-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25357 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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