Skip to content

Commit 6265ca6

Browse files
stuijnasherm
andauthored
[AArch64] Add Cortex-A320 scheduling model (#144385)
Instead of using the Cortex-A510 scheduling model, Cortex-A320 now uses its own scheduling model, based off of the Cortex-A320 Software Optimization Guide: https://developer.arm.com/documentation/110285/r0p1 --------- Co-authored-by: Nashe Mncube <[email protected]>
1 parent 7c15edb commit 6265ca6

File tree

6 files changed

+18604
-1
lines changed

6 files changed

+18604
-1
lines changed

llvm/lib/Target/AArch64/AArch64.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def MTEUnsupported : AArch64Unsupported {
103103
let F = [HasPAuth, HasPAuthLR] in
104104
def PAUnsupported : AArch64Unsupported;
105105

106+
include "AArch64SchedA320.td"
106107
include "AArch64SchedA53.td"
107108
include "AArch64SchedA55.td"
108109
include "AArch64SchedA510.td"

llvm/lib/Target/AArch64/AArch64Processors.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ def : ProcessorModel<"cortex-a34", CortexA53Model, ProcessorFeatures.A53,
11311131
[TuneA35]>;
11321132
def : ProcessorModel<"cortex-a35", CortexA53Model, ProcessorFeatures.A53,
11331133
[TuneA35]>;
1134-
def : ProcessorModel<"cortex-a320", CortexA510Model, ProcessorFeatures.A320,
1134+
def : ProcessorModel<"cortex-a320", CortexA320Model, ProcessorFeatures.A320,
11351135
[TuneA320]>;
11361136
def : ProcessorModel<"cortex-a53", CortexA53Model, ProcessorFeatures.A53,
11371137
[TuneA53]>;

0 commit comments

Comments
 (0)