mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
[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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user