diff options
author | dim <dim@FreeBSD.org> | 2012-10-10 21:29:00 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-10-10 21:29:00 +0000 |
commit | 38198ecb8af50337c780a861dae2d99add15e451 (patch) | |
tree | 5d9b8f3250f20610de0ceba329aa0e045989510e /contrib/llvm | |
parent | 7849b3fa4d9df854109e7ad2d649585d459a0176 (diff) | |
download | FreeBSD-src-38198ecb8af50337c780a861dae2d99add15e451.zip FreeBSD-src-38198ecb8af50337c780a861dae2d99add15e451.tar.gz |
Pull in r163710 from upstream llvm trunk:
Add support for AMD Geode.
MFC after: 3 days
Diffstat (limited to 'contrib/llvm')
-rw-r--r-- | contrib/llvm/lib/Support/Host.cpp | 1 | ||||
-rw-r--r-- | contrib/llvm/lib/Target/X86/X86.td | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/llvm/lib/Support/Host.cpp b/contrib/llvm/lib/Support/Host.cpp index 9a2c39d..a13b9e2 100644 --- a/contrib/llvm/lib/Support/Host.cpp +++ b/contrib/llvm/lib/Support/Host.cpp @@ -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: diff --git a/contrib/llvm/lib/Target/X86/X86.td b/contrib/llvm/lib/Target/X86/X86.td index 18e6b7c..1249781 100644 --- a/contrib/llvm/lib/Target/X86/X86.td +++ b/contrib/llvm/lib/Target/X86/X86.td @@ -227,6 +227,7 @@ def : Proc<"bdver2", [FeatureXOP, FeatureFMA4, FeatureCMPXCHG16B, FeatureAES, FeaturePCLMUL, FeatureF16C, FeatureLZCNT, FeaturePOPCNT, FeatureBMI, FeatureFMA]>; +def : Proc<"geode", [Feature3DNowA]>; def : Proc<"winchip-c6", [FeatureMMX]>; def : Proc<"winchip2", [Feature3DNow]>; |