Fixes for PPC host detection and features.
authorHal Finkel <hfinkel@anl.gov>
Tue, 12 Jun 2012 16:39:23 +0000 (16:39 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 12 Jun 2012 16:39:23 +0000 (16:39 +0000)
commit6670c82df5ef7b97862ef2a0807aa835498b7306
treeebf8419fd6a317e6072cbd180079e478e4b88438
parent0d887a09421e40faadb67f1cfdfd81e5ba7bbed2
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
lib/Support/Host.cpp
lib/Target/PowerPC/PPC.td