Skip to content
Commit f6e8408a authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Add __get_cpuid_count to cpuid.h. Update __get_cpuid to check the...

[X86] Add __get_cpuid_count to cpuid.h. Update __get_cpuid to check the maximum level support before accessing the leaf. Rename level to leaf everywhere.

This matches gcc behavior.

llvm-svn: 307506
parent f2d571c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment