llvm.org GIT mirror llvm / 619d61b
Revert "Revert "[ARM] Add Kryo to available targets"" This reverts commit dc9458d5a747a02a9a8f198b84c2b92a6939a8dd. Added missing case for PreISelOperandLatencyAdjustment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299724 91177308-0d34-0410-b5e6-96231b3b80d8 Yi Kong 2 years ago
4 changed file(s) with 12 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
243243 ARM_CPU_NAME("exynos-m1", AK_ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
244244 ARM_CPU_NAME("exynos-m2", AK_ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
245245 ARM_CPU_NAME("exynos-m3", AK_ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
246 ARM_CPU_NAME("kryo", AK_ARMV8A, FK_CRYPTO_NEON_FP_ARMV8, false, ARM::AEK_CRC)
246247 // Non-standard Arch names.
247248 ARM_CPU_NAME("iwmmxt", AK_IWMMXT, FK_NONE, true, ARM::AEK_NONE)
248249 ARM_CPU_NAME("xscale", AK_XSCALE, FK_NONE, true, ARM::AEK_NONE)
344344 "Cortex-A73 ARM processors", []>;
345345
346346 def ProcKrait : SubtargetFeature<"krait", "ARMProcFamily", "Krait",
347 "Qualcomm ARM processors", []>;
347 "Qualcomm Krait processors", []>;
348 def ProcKryo : SubtargetFeature<"kryo", "ARMProcFamily", "Kryo",
349 "Qualcomm Kryo processors", []>;
348350 def ProcSwift : SubtargetFeature<"swift", "ARMProcFamily", "Swift",
349351 "Swift ARM processors", []>;
350352
834836 FeatureCrypto,
835837 FeatureCRC]>;
836838
839 def : ProcNoItin<"kryo", [ARMv8a, ProcKryo,
840 FeatureHWDiv,
841 FeatureHWDivARM,
842 FeatureCrypto,
843 FeatureCRC]>;
844
837845 def : ProcessorModel<"cortex-r52", CortexR52Model, [ARMv8r, ProcR52,
838846 FeatureFPAO]>;
839847
275275 case CortexM3:
276276 case ExynosM1:
277277 case CortexR52:
278 case Kryo:
278279 break;
279280 case Krait:
280281 PreISelOperandLatencyAdjustment = 1;
6363 CortexR7,
6464 ExynosM1,
6565 Krait,
66 Kryo,
6667 Swift
6768 };
6869 enum ARMProcClassEnum {