summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-08-02 17:36:16 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:15:01 +0200
commit4843c8d7d944edf2b364110baf44588e44418f11 (patch)
tree79ae3a968e26189f60c976ebbcd3ea59d705cc67 /cpudetect.c
parent1605194717abdbbe481b322e220484f1e59aa5f1 (diff)
downloadmpv-4843c8d7d944edf2b364110baf44588e44418f11.tar.bz2
mpv-4843c8d7d944edf2b364110baf44588e44418f11.tar.xz
cpuid.c: Remove outdated code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31904 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpudetect.c b/cpudetect.c
index 1edf4a08be..d39026ea40 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -92,13 +92,6 @@ static int has_cpuid(void)
static void
do_cpuid(unsigned int ax, unsigned int *p)
{
-#if 0
- __asm__ volatile(
- "cpuid;"
- : "=a" (p[0]), "=b" (p[1]), "=c" (p[2]), "=d" (p[3])
- : "0" (ax)
- );
-#else
// code from libavcodec:
__asm__ volatile
("mov %%"REG_b", %%"REG_S"\n\t"
@@ -107,7 +100,6 @@ do_cpuid(unsigned int ax, unsigned int *p)
: "=a" (p[0]), "=S" (p[1]),
"=c" (p[2]), "=d" (p[3])
: "0" (ax));
-#endif
}
void GetCpuCaps( CpuCaps *caps)