diff options
author | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-02-16 23:44:05 +0000 |
---|---|---|
committer | gabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-02-16 23:44:05 +0000 |
commit | 919589e13ae42b0395b883dd9bb4a19c478f76fc (patch) | |
tree | 6ca7e0c73ae9a96f6bfcc7e8cf7679592ab48788 /cpudetect.c | |
parent | d8e6384a054aa0ddc93f2fd0f70caf1128bd0584 (diff) | |
download | mpv-919589e13ae42b0395b883dd9bb4a19c478f76fc.tar.bz2 mpv-919589e13ae42b0395b883dd9bb4a19c478f76fc.tar.xz |
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
Diffstat (limited to 'cpudetect.c')
-rw-r--r-- | cpudetect.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cpudetect.c b/cpudetect.c index c5b3ffafc7..93d202537a 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -569,5 +569,49 @@ void GetCpuCaps( CpuCaps *caps) #endif /* SYS_DARWIN */ mp_msg(MSGT_CPUDETECT,MSGL_INFO,"AltiVec %sfound\n", (caps->hasAltiVec ? "" : "not ")); #endif /* HAVE_ALTIVEC */ + +#ifdef ARCH_IA64 + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Intel Itanium\n"); +#endif + +#ifdef ARCH_X86_64 + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Advanced Micro Devices 64-bit CPU\n"); +#endif + +#ifdef ARCH_SPARC + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Sun Sparc\n"); +#endif + +#ifdef ARCH_ARMV4L + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: ARM\n"); +#endif + +#ifdef ARCH_POWERPC + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: PowerPC\n"); +#endif + +#ifdef ARCH_ALPHA + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Digital Alpha\n"); +#endif + +#ifdef ARCH_SGI_MIPS + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: SGI MIPS\n"); +#endif + +#ifdef ARCH_PA_RISC + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: Hewlett-Packard PA-RISC\n"); +#endif + +#ifdef ARCH_S390 + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: IBM S/390\n"); +#endif + +#ifdef ARCH_S390X + mp_msg(MSGT_CPUDETECT,MSGL_INFO,"CPU: IBM S/390X\n"); +#endif + +#ifdef ARCH_VAX + mp_msg(MSGT_CPUDETECT,MSGL_INFO, "CPU: Digital VAX\n" ); +#endif } #endif /* !ARCH_X86 */ |