Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPUID: Update to something a little more modern #4068

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

Sonicadvance1
Copy link
Member

Previously reported as some old CPU without AVX and SSE4 and other things.
Start advertising as something more modern that actually shipped with AVX2 and other features. Should help some modern libraries that do bad family and model checks rather that CPUID features checks.

Also removes the silly (ES) tag from CPU-Z.

Also moves generation in to a constexpr function that can actually range check these 4-bit and 8-bit values.

Previously reported as some old CPU without AVX and SSE4 and other
things.
Start advertising as something more modern that actually shipped with
AVX2 and other features. Should help some modern libraries that do bad
family and model checks rather that CPUID features checks.

Also removes the silly `(ES)` tag from CPU-Z.

Also moves generation in to a constexpr function that can actually range
check these 4-bit and 8-bit values.
@Sonicadvance1
Copy link
Member Author

Switched over to struct bitfields instead to enforce the size limits.

@Sonicadvance1 Sonicadvance1 merged commit 5bd0afa into FEX-Emu:main Sep 16, 2024
12 checks passed
@Sonicadvance1 Sonicadvance1 deleted the update_cpuid branch September 16, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants