Thread overview
__cpuid like in C
Nov 01, 2021
Arsium
Nov 01, 2021
rikki cattermole
Nov 01, 2021
Arsium
Nov 01, 2021
Paul Backus
Nov 01, 2021
Arsium
Nov 02, 2021
WebFreak001
November 01, 2021

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 ?

November 02, 2021
I think you are wanting this?

https://dlang.org/phobos/core_cpuid.html#.processor
November 01, 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.

November 01, 2021
On Monday, 1 November 2021 at 16:01:38 UTC, rikki cattermole wrote:
>
> I think you are wanting this?
>
> https://dlang.org/phobos/core_cpuid.html#.processor

Oh thx my bad I did not see it!
November 01, 2021

On Monday, 1 November 2021 at 16:02:20 UTC, Paul Backus wrote:

>

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.

Oh thx my bad I did not see it!

November 02, 2021

On Monday, 1 November 2021 at 16:16:12 UTC, Arsium wrote:

>

On Monday, 1 November 2021 at 16:02:20 UTC, Paul Backus wrote:

>

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.

Oh thx my bad I did not see it!

if you want even more cpuid details there is also

https://github.com/dd86k/ddcpuid/
https://code.dlang.org/packages/ddcpuid