Skip to content

Commit

Permalink
Pull in r163710 from upstream llvm trunk:
Browse files Browse the repository at this point in the history
  Add support for AMD Geode.

MFC after:	3 days
  • Loading branch information
DimitryAndric committed Oct 10, 2012
1 parent 7849b3f commit 38198ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/llvm/lib/Support/Host.cpp
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions contrib/llvm/lib/Target/X86/X86.td
Expand Up @@ -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]>;
Expand Down

0 comments on commit 38198ec

Please sign in to comment.