__cpuid like in C

Paul Backus snarwin at gmail.com
Mon Nov 1 16:02:20 UTC 2021


On Monday, 1 November 2021 at 16:00:05 UTC, Arsium wrote:
> Hello,
>
> Currently, I'm working to implement myself WinAPI functions. 
> However, I could not find anything matching with  : __cpuid 
> like : https://gist.github.com/boxmein/7d8e5fae7febafc5851e
>
> Any idea ?

Not sure if it's exactly the same, but there is [`core.cpuid`][1].

[1]: https://druntime.dpldocs.info/core.cpuid.html


More information about the Digitalmars-d-learn mailing list