diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-12 16:39:23 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-12 16:39:23 +0000 |
commit | 6670c82df5ef7b97862ef2a0807aa835498b7306 (patch) | |
tree | ebf8419fd6a317e6072cbd180079e478e4b88438 /lib/Support | |
parent | 0d887a09421e40faadb67f1cfdfd81e5ba7bbed2 (diff) | |
download | external_llvm-6670c82df5ef7b97862ef2a0807aa835498b7306.zip external_llvm-6670c82df5ef7b97862ef2a0807aa835498b7306.tar.gz external_llvm-6670c82df5ef7b97862ef2a0807aa835498b7306.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/Host.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index d48c526..677da5c 100644 --- a/lib/Support/Host.cpp +++ b/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") |