1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-10-03 11:01:30 +00:00

Added lots of documentation and implemented part of the detection. Added a script to check for CPU feature naming consistency

git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@7 3b4be424-7ac5-41d7-8526-f4ddcb85d872
This commit is contained in:
Veselin Georgiev 2008-11-12 18:26:49 +00:00
commit 18620f1981
7 changed files with 339 additions and 56 deletions

View file

@ -36,7 +36,7 @@ int main(void)
printf(" code name : `%s'\n", data.cpu_codename);
printf(" features :");
int i;
for (i = 0; i < CPU_FEATURE_END; i++)
for (i = 0; i < CPU_NUM_FEATURES; i++)
if (data.flags[i])
printf(" %s", cpu_feature_str(i));
printf("\n");