[PATCH] D132120: [AArch64] Fix list of features for Cortex-X1C

Lucas Prates via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 02:40:08 PDT 2022


pratlucas created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
pratlucas requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch fixes the list of subtarget features enabled for the
Cortex-X1C processor, including the following:

- Fix incorrect version used for FeatureRCPC:
  - Use FEAT_LRCPC2 instead of FEAT_LRCPC.
- Add missing v8.4-A features included in the TRM:
  - Flag Manipulation Instructions - FeatureFlagM (FEAT_FlagM)
  - Large System Extension 2 - FeatureLSE2 (FEAT_LSE2)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132120

Files:
  llvm/lib/Target/AArch64/AArch64.td


Index: llvm/lib/Target/AArch64/AArch64.td
===================================================================
--- llvm/lib/Target/AArch64/AArch64.td
+++ llvm/lib/Target/AArch64/AArch64.td
@@ -1032,9 +1032,10 @@
                                  FeatureSPE, FeatureFullFP16, FeatureDotProd,
                                  FeatureSSBS];
   list<SubtargetFeature> X1C  = [HasV8_2aOps, FeatureCrypto, FeatureFPARMv8,
-                                 FeatureNEON, FeatureRCPC, FeaturePerfMon,
+                                 FeatureNEON, FeatureRCPC_IMMO, FeaturePerfMon,
                                  FeatureSPE, FeatureFullFP16, FeatureDotProd,
-                                 FeaturePAuth, FeatureSSBS];
+                                 FeaturePAuth, FeatureSSBS, FeatureFlagM,
+                                 FeatureLSE2];
   list<SubtargetFeature> X2   = [HasV9_0aOps, FeatureNEON, FeaturePerfMon,
                                  FeatureMatMulInt8, FeatureBF16, FeatureAM,
                                  FeatureMTE, FeatureETE, FeatureSVE2BitPerm,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132120.453594.patch
Type: text/x-patch
Size: 1068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220818/0790b448/attachment.bin>


More information about the llvm-commits mailing list