1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Pull in r163710 from upstream llvm trunk:

Add support for AMD Geode.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2012-10-10 21:29:00 +00:00
parent c6f0cd57e3
commit 4802a8772c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241427
2 changed files with 2 additions and 0 deletions

View File

@ -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:

View File

@ -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]>;