[cfe-dev] [2/5 PATCH/RFC PPC64] add power8 keyword to host

Will Schmidt will_schmidt at vnet.ibm.com
Tue Jun 24 14:43:32 PDT 2014


Add Power8 and Power8E keywords to Host.cpp, both mapping to pwr8.



diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index 03187e9..e2dd6d5 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -570,6 +570,8 @@ StringRef sys::getHostCPUName() {
     .Case("A2", "a2")
     .Case("POWER6", "pwr6")
     .Case("POWER7", "pwr7")
+    .Case("POWER8", "pwr8")
+    .Case("POWER8E", "pwr8")
     .Default(generic);
 }
 #elif defined(__linux__) && defined(__arm__)





More information about the cfe-dev mailing list