Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 7bbe32b

Browse files
author
Evandro Menezes
committed
[AArch64] Create a separate feature set for Exynos M3
Distinguish the features from Exynos M2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323139 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 49ee2f2 commit 7bbe32b

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

lib/Target/AArch64/AArch64.td

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def ProcExynosM1 : SubtargetFeature<"exynosm1", "ARMProcFamily", "ExynosM1",
316316
FeatureZCZeroing]>;
317317

318318
def ProcExynosM2 : SubtargetFeature<"exynosm2", "ARMProcFamily", "ExynosM1",
319-
"Samsung Exynos-M2/M3 processors",
319+
"Samsung Exynos-M2 processors",
320320
[FeatureSlowPaired128,
321321
FeatureCRC,
322322
FeatureCrypto,
@@ -329,6 +329,21 @@ def ProcExynosM2 : SubtargetFeature<"exynosm2", "ARMProcFamily", "ExynosM1",
329329
FeatureSlowMisaligned128Store,
330330
FeatureZCZeroing]>;
331331

332+
def ProcExynosM3 : SubtargetFeature<"exynosm3", "ARMProcFamily", "ExynosM1",
333+
"Samsung Exynos-M3 processors",
334+
[FeatureCRC,
335+
FeatureCrypto,
336+
FeatureCustomCheapAsMoveHandling,
337+
FeatureFPARMv8,
338+
FeatureFuseAES,
339+
FeatureFuseLiterals,
340+
FeatureNEON,
341+
FeaturePerfMon,
342+
FeaturePostRAScheduler,
343+
FeatureSlowMisaligned128Store,
344+
FeatureSlowPaired128,
345+
FeatureZCZeroing]>;
346+
332347
def ProcKryo : SubtargetFeature<"kryo", "ARMProcFamily", "Kryo",
333348
"Qualcomm Kryo processors", [
334349
FeatureCRC,
@@ -449,7 +464,7 @@ def : ProcessorModel<"cortex-a75", CortexA57Model, [ProcA75]>;
449464
def : ProcessorModel<"cyclone", CycloneModel, [ProcCyclone]>;
450465
def : ProcessorModel<"exynos-m1", ExynosM1Model, [ProcExynosM1]>;
451466
def : ProcessorModel<"exynos-m2", ExynosM1Model, [ProcExynosM2]>;
452-
def : ProcessorModel<"exynos-m3", ExynosM1Model, [ProcExynosM2]>;
467+
def : ProcessorModel<"exynos-m3", ExynosM1Model, [ProcExynosM3]>;
453468
def : ProcessorModel<"falkor", FalkorModel, [ProcFalkor]>;
454469
def : ProcessorModel<"saphira", FalkorModel, [ProcSaphira]>;
455470
def : ProcessorModel<"kryo", KryoModel, [ProcKryo]>;

0 commit comments

Comments
 (0)