Recognize Intel CPUs with Family=6 and Model=44.
authorBob Wilson <bob.wilson@apple.com>
Fri, 8 Jul 2011 22:09:35 +0000 (22:09 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 8 Jul 2011 22:09:35 +0000 (22:09 +0000)
According to Intel Application Note 485, this value is used for
"Intel Core i7 and Intel Xeon processor".  Just include it with the other
"corei7-avx" entries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134750 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Host.cpp

index 4299aa4e931da7110de98b2e231b1df6ae6d2ca8..2829de06d6d530db7fb2c1b6a85ce3f425512809 100644 (file)
@@ -215,6 +215,7 @@ std::string sys::getHostCPUName() {
       case 37: // Intel Core i7, laptop version.
         return "corei7";
       case 42: // SandyBridge
+      case 44:
       case 45:
         return "corei7-avx";