added definitions for PILEDRIVER and HASWELL

This commit is contained in:
wernsaar 2014-07-06 12:08:27 +02:00
parent 9964ed2f79
commit 50e99a52ea
1 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,8 @@ int get_L2_size(void){
#if defined(ATHLON) || defined(OPTERON) || defined(BARCELONA) || defined(BOBCAT) || defined(BULLDOZER) || \
defined(CORE_PRESCOTT) || defined(CORE_CORE2) || defined(PENRYN) || defined(DUNNINGTON) || \
defined(CORE_NEHALEM) || defined(CORE_SANDYBRIDGE) || defined(ATOM) || defined(GENERIC)
defined(CORE_NEHALEM) || defined(CORE_SANDYBRIDGE) || defined(ATOM) || defined(GENERIC) || \
defined(PILEDRIVER) || defined(HASWELL)
cpuid(0x80000006, &eax, &ebx, &ecx, &edx);