Summary: std.cpuid and core.cpuid return different values for
                    some methods
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from 2011-05-20 10:29:14 PDT ---
Created an attachment (id=987)
Implement std.cpuid in terms of core.cpuid

std.cpuid (from Phobos) duplicates functionality from core.cpuid (from
druntime). Worse, some methods return different values. E.g. hyperThreading()
and threadsPerCPU(). 
(BTW: std.cpuid.threadsPerCPU() returns 16 for my i7, which is totally wrong.)

The attached patch removes the implementation from std.cpuid and uses alias to
reuse core.cpuid while preserving API compatibility.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to