summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-12 16:39:23 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-12 16:39:23 +0000
commitf1cc96ab50d476facf264ac7a1fef7386634ede5 (patch)
tree523d165659ac8f8bf557c2b8b10db0387f5fde03 /llvm/lib/Support
parenta99fa5b062df7743dcd35e602e98e8ad547895a2 (diff)
downloadbcm5719-llvm-f1cc96ab50d476facf264ac7a1fef7386634ede5.tar.gz
bcm5719-llvm-f1cc96ab50d476facf264ac7a1fef7386634ede5.zip
Fixes for PPC host detection and features.
POWER4 is a 64-bit CPU (better matched to the 970). The g3 is really the 750 (no altivec), the g4+ is the 74xx (not the 750). Patch by Andreas Tobler. llvm-svn: 158363
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index d48c5265a4d..677da5cd9fb 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -440,7 +440,7 @@ std::string sys::getHostCPUName() {
.Case("7447", "7400")
.Case("7455", "7450")
.Case("G4", "g4")
- .Case("POWER4", "g4")
+ .Case("POWER4", "970")
.Case("PPC970FX", "970")
.Case("PPC970MP", "970")
.Case("G5", "g5")
OpenPOWER on IntegriCloud