Skip to content

missing X86Microarchitecture enum entries for modern CPUs (Zen 5, arrowlake, moonlake) #449

@fiban123

Description

@fiban123

The X86Microarchitecture enum in cpuinfo_x86.h is currently missing some "new" CPU microarchitectures. Zen 5 was released 2 years ago, yet it's supported.

The ones I noticed were missing are:

  • AMD Zen 5
  • Intel Arrow Lake
  • Intel Lunar Lake

If someone wanted to check for these, they would need to write their own CPUID check for these, which would suck. since cpu_features is, as far as i know, the most up-to-date library when it comes to CPU features, so you can't just use another library.

I thought this library was made to be up-to-date and the "source of truth" for CPU features, but literally Zen 5 is missing.

If there's no reason these are missing other than "no one has bothered to implement them yet", I am open to be the one that implements them. But since a 2 year old architecture has not been added yet, I assume there is probably some reason for that, which is why I'm making this issue.

Is there any reason these have not been added yet, and if not, should I make a PR with support for the mentioned microarchitectures?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions