svn commit: r241427 - in head/contrib/llvm/lib: Support Target/X86
Dimitry Andric
dim at FreeBSD.org
Wed Oct 10 21:29:01 UTC 2012
Author: dim
Date: Wed Oct 10 21:29:00 2012
New Revision: 241427
URL: http://svn.freebsd.org/changeset/base/241427
Log:
Pull in r163710 from upstream llvm trunk:
Add support for AMD Geode.
MFC after: 3 days
Modified:
head/contrib/llvm/lib/Support/Host.cpp
head/contrib/llvm/lib/Target/X86/X86.td
Modified: head/contrib/llvm/lib/Support/Host.cpp
==============================================================================
--- head/contrib/llvm/lib/Support/Host.cpp Wed Oct 10 21:27:30 2012 (r241426)
+++ head/contrib/llvm/lib/Support/Host.cpp Wed Oct 10 21:29:00 2012 (r241427)
@@ -303,6 +303,7 @@ std::string sys::getHostCPUName() {
case 8: return "k6-2";
case 9:
case 13: return "k6-3";
+ case 10: return "geode";
default: return "pentium";
}
case 6:
Modified: head/contrib/llvm/lib/Target/X86/X86.td
==============================================================================
--- head/contrib/llvm/lib/Target/X86/X86.td Wed Oct 10 21:27:30 2012 (r241426)
+++ head/contrib/llvm/lib/Target/X86/X86.td Wed Oct 10 21:29:00 2012 (r241427)
@@ -227,6 +227,7 @@ def : Proc<"bdver2", [FeatureXO
FeatureAES, FeaturePCLMUL,
FeatureF16C, FeatureLZCNT,
FeaturePOPCNT, FeatureBMI, FeatureFMA]>;
+def : Proc<"geode", [Feature3DNowA]>;
def : Proc<"winchip-c6", [FeatureMMX]>;
def : Proc<"winchip2", [Feature3DNow]>;
More information about the svn-src-head
mailing list