summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorGabor Buella <gabor.buella@intel.com>2018-04-16 07:47:35 +0000
committerGabor Buella <gabor.buella@intel.com>2018-04-16 07:47:35 +0000
commit8f1646b579c4ab68c663c92e480b4a10d9c4d70e (patch)
tree70a64eb3efa9598f12de5f2e84b4bf14616027d3 /llvm/lib/Support/Host.cpp
parentf836af869deeef065f0bc0217c9f313c8642c9b4 (diff)
downloadbcm5719-llvm-8f1646b579c4ab68c663c92e480b4a10d9c4d70e.tar.gz
bcm5719-llvm-8f1646b579c4ab68c663c92e480b4a10d9c4d70e.zip
[X86] Introduce archs: goldmont-plus & tremont
Using Goldmont's cost tables for these two upcoming atom archs. Reviewers: craig.topper Reviewed By: craig.topper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D45612 llvm-svn: 330109
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 4df1102cf26..3337d8adb37 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -651,9 +651,11 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
// Goldmont:
case 0x5c: // Apollo Lake
case 0x5f: // Denverton
- case 0x7a: // Gemini Lake
*Type = X86::INTEL_GOLDMONT;
break; // "goldmont"
+ case 0x7a:
+ *Type = X86::INTEL_GOLDMONT_PLUS;
+ break;
case 0x57:
*Type = X86::INTEL_KNL; // knl
break;
OpenPOWER on IntegriCloud