File tree 2 files changed +0
-18
lines changed
2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,6 @@ pub fn check_for(x: Feature) -> bool {
34
34
fn detect_features ( ) -> cache:: Initializer {
35
35
let mut value = cache:: Initializer :: default ( ) ;
36
36
37
- // If the x86 CPU does not support the CPUID instruction then it is too
38
- // old to support any of the currently-detectable features.
39
- if !has_cpuid ( ) {
40
- return value;
41
- }
42
-
43
- // Calling `__cpuid`/`__cpuid_count` from here on is safe because the CPU
44
- // has `cpuid` support.
45
-
46
37
// 0. EAX = 0: Basic Information:
47
38
// - EAX returns the "Highest Function Parameter", that is, the maximum
48
39
// leaf value for subsequent calls of `cpuinfo` in range [0,
Original file line number Diff line number Diff line change @@ -34,15 +34,6 @@ pub fn check_for(x: Feature) -> bool {
34
34
fn detect_features ( ) -> cache:: Initializer {
35
35
let mut value = cache:: Initializer :: default ( ) ;
36
36
37
- // If the x86 CPU does not support the CPUID instruction then it is too
38
- // old to support any of the currently-detectable features.
39
- if !has_cpuid ( ) {
40
- return value;
41
- }
42
-
43
- // Calling `__cpuid`/`__cpuid_count` from here on is safe because the CPU
44
- // has `cpuid` support.
45
-
46
37
// 0. EAX = 0: Basic Information:
47
38
// - EAX returns the "Highest Function Parameter", that is, the maximum
48
39
// leaf value for subsequent calls of `cpuinfo` in range [0,
You can’t perform that action at this time.
0 commit comments