[ARM64] Port over missing subtarget features, and CPU definitions from AArch64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
James Molloy
2014-04-14 17:38:00 +00:00
parent 1f1bced6e7
commit b1138a1313
3 changed files with 52 additions and 5 deletions

View File

@@ -26,12 +26,15 @@ using namespace llvm;
ARM64Subtarget::ARM64Subtarget(const std::string &TT, const std::string &CPU,
const std::string &FS)
: ARM64GenSubtargetInfo(TT, CPU, FS), HasZeroCycleRegMove(false),
HasZeroCycleZeroing(false), CPUString(CPU), TargetTriple(TT) {
: ARM64GenSubtargetInfo(TT, CPU, FS), ARMProcFamily(Others),
HasFPARMv8(false), HasNEON(false), HasCrypto(false),
HasZeroCycleRegMove(false), HasZeroCycleZeroing(false),
CPUString(CPU), TargetTriple(TT) {
// Determine default and user-specified characteristics
// FIXME: Make this darwin-only.
if (CPUString.empty())
// We default to Cyclone for now.
// We default to Cyclone for now, on Darwin.
CPUString = "cyclone";
ParseSubtargetFeatures(CPUString, FS);