Skip to content

Commit ef9159c

Browse files
harviniriawandavemgreen
authored andcommitted
[AArch64] Add Cortex-A510 specific scheduling
- Update the Cortex-A510 mcpu target to use A510 scheduling info instead of A55. Values taken are based on the A510 software optimisation guide https://developer.arm.com/documentation/PJDOC-466751330-536816/latest - Make latency of most integer ops to 1. CPU uarch is able to resolve most integer ops in 1 cycle Differential Revision: https://reviews.llvm.org/D152688
1 parent 36d5034 commit ef9159c

File tree

5 files changed

+18585
-1
lines changed

5 files changed

+18585
-1
lines changed

llvm/lib/Target/AArch64/AArch64.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ def SMEUnsupported : AArch64Unsupported {
733733

734734
include "AArch64SchedA53.td"
735735
include "AArch64SchedA55.td"
736+
include "AArch64SchedA510.td"
736737
include "AArch64SchedA57.td"
737738
include "AArch64SchedCyclone.td"
738739
include "AArch64SchedFalkor.td"
@@ -1347,7 +1348,7 @@ def : ProcessorModel<"cortex-a53", CortexA53Model, ProcessorFeatures.A53,
13471348
[TuneA53]>;
13481349
def : ProcessorModel<"cortex-a55", CortexA55Model, ProcessorFeatures.A55,
13491350
[TuneA55]>;
1350-
def : ProcessorModel<"cortex-a510", CortexA55Model, ProcessorFeatures.A510,
1351+
def : ProcessorModel<"cortex-a510", CortexA510Model, ProcessorFeatures.A510,
13511352
[TuneA510]>;
13521353
def : ProcessorModel<"cortex-a57", CortexA57Model, ProcessorFeatures.A53,
13531354
[TuneA57]>;

0 commit comments

Comments
 (0)