changeset 31825:544f29a58a6b

Remove outdated cpuid code.
author reimar
date Mon, 02 Aug 2010 17:36:16 +0000
parents e26b1c667fd8
children f3aed7bffcbb
files cpudetect.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/cpudetect.c	Mon Aug 02 17:32:42 2010 +0000
+++ b/cpudetect.c	Mon Aug 02 17:36:16 2010 +0000
@@ -92,13 +92,6 @@
 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 @@
          : "=a" (p[0]), "=S" (p[1]),
            "=c" (p[2]), "=d" (p[3])
          : "0" (ax));
-#endif
 }
 
 void GetCpuCaps( CpuCaps *caps)