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

CPU features for AMD #165

Merged
merged 10 commits into from
Jun 30, 2021
Merged

CPU features for AMD #165

merged 10 commits into from
Jun 30, 2021

Conversation

toor1245
Copy link
Contributor

@toor1245 toor1245 commented Jun 27, 2021

Hello everybody, In this pull requests I added improvements of cpu features of AMD microarchitecture related to #116

Results on real machine:

ZEN2

  • Before changes:
    image
  • After changes:
    image
    As you can see, uarch changed from AMD_ZEN to AMD_ZEN2

Fixed a test that checked the wrong microarchitecture, where instead of AMD_BULLDOZER must be AMD_STREAMROLLER

Added processing of HygonGenuine vendor, since there is a microarchitecture ZEN in Family 24 (18h) Dhyana. CPUID_Dump

@toor1245
Copy link
Contributor Author

@gchatelet @Mizux please review

@gchatelet gchatelet self-assigned this Jun 30, 2021
@gchatelet
Copy link
Collaborator

Can you clang-format -i include/cpuinfo_x86.h?

Thx a lot for the PR!

@gchatelet gchatelet linked an issue Jun 30, 2021 that may be closed by this pull request
@gchatelet gchatelet added this to the v0.7.0 milestone Jun 30, 2021
@toor1245
Copy link
Contributor Author

Can you clang-format -i include/cpuinfo_x86.h?

Thx a lot for the PR!

done

@gchatelet gchatelet merged commit 5492c4c into google:master Jun 30, 2021
@toor1245 toor1245 deleted the cpu_feature_amd branch June 30, 2021 11:54
@gchatelet gchatelet added the enhancement New feature or request label Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detection of Zen2 microarch
2 participants