]> git.sesse.net Git - vlc/blobdiff - src/misc/cpu.c
Remove unused 486 and 586 capabilities
[vlc] / src / misc / cpu.c
index 5a6a5e4e71e2d3b1b03f5b9d4aaaad464882fbee..2bbff245f05aa6dea38488d927fd3bdf3e82b0ba 100644 (file)
@@ -138,8 +138,6 @@ uint32_t CPUCapabilities( void )
         goto out;
 # endif
 
-    i_capabilities |= CPU_CAPABILITY_486;
-
     /* the CPU supports the CPUID instruction - get its level */
     cpuid( 0x00000000 );
 
@@ -150,9 +148,6 @@ uint32_t CPUCapabilities( void )
         goto out;
 #endif
 
-    /* FIXME: this isn't correct, since some 486s have cpuid */
-    i_capabilities |= CPU_CAPABILITY_586;
-
     /* borrowed from mpeg2dec */
     b_amd = ( i_ebx == 0x68747541 ) && ( i_ecx == 0x444d4163 )
                     && ( i_edx == 0x69746e65 );