1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 21:31:15 +02:00

remove internal FillX86BrandString usage (#258)

This commit is contained in:
Andrei Kurushin
2022-07-25 18:39:50 +03:00
committed by GitHub
parent c7c7751682
commit 677d6419b2
3 changed files with 6 additions and 60 deletions

View File

@ -366,9 +366,8 @@ static Node* CreateTree(void) {
char brand_string[49];
const X86Info info = GetX86Info();
const CacheInfo cache_info = GetX86CacheInfo();
FillX86BrandString(brand_string);
AddMapEntry(root, "arch", CreateString("x86"));
AddMapEntry(root, "brand", CreateString(brand_string));
AddMapEntry(root, "brand", CreateString(info.brand_string));
AddMapEntry(root, "family", CreateInt(info.family));
AddMapEntry(root, "model", CreateInt(info.model));
AddMapEntry(root, "stepping", CreateInt(info.stepping));