New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 1701 - Add Hygon Dhyana support to fix queryCacheSizes() get incorrect cache size bug
Summary: Add Hygon Dhyana support to fix queryCacheSizes() get incorrect cache size bug
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: unspecified
Hardware: x86 - general All
: Normal Wrong Result
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-20 16:15 UTC by Soc Hygon
Modified: 2019-04-20 16:15 UTC (History)
4 users (show)



Attachments
Eigen hygon dhyana cache size support (1.28 KB, text/plain)
2019-04-20 16:15 UTC, Soc Hygon
no flags Details

Description Soc Hygon 2019-04-20 16:15:27 UTC
Created attachment 937 [details]
Eigen hygon dhyana cache size support

by default queryCacheSizes() function only has 3 run patch, Intel/AMD/Other(Intel).

As Hygon Dhyana share similar architecture with AMD Family 17h, add a CPU Vendor Recognize in queryCacheSizes() to recoginze Hygon Dhyana CPU Vendor ID("HygonGenuine"), and reuse AMD Query Cache size path, to call function queryCacheSizes_amd().

the attachment is the Hygon CPU Vendor ID checking patch, please help to check and merge.

Thanks.

Note You need to log in before you can comment on or make changes to this bug.