[llvm-commits] [llvm] r134750 - /llvm/trunk/lib/Support/Host.cpp
Bob Wilson
bob.wilson at apple.com
Fri Jul 8 15:09:35 PDT 2011
Author: bwilson
Date: Fri Jul 8 17:09:35 2011
New Revision: 134750
URL: http://llvm.org/viewvc/llvm-project?rev=134750&view=rev
Log:
Recognize Intel CPUs with Family=6 and Model=44.
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.
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=134750&r1=134749&r2=134750&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Fri Jul 8 17:09:35 2011
@@ -215,6 +215,7 @@
case 37: // Intel Core i7, laptop version.
return "corei7";
case 42: // SandyBridge
+ case 44:
case 45:
return "corei7-avx";
More information about the llvm-commits
mailing list