[llvm] 94643a4 - [AArch64] Add armv9.6 features to AArch64AsmParser (#112722)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 09:08:47 PDT 2024


Author: Lukacma
Date: 2024-10-17T17:08:43+01:00
New Revision: 94643a45b4c549b27407803277ec88b78315e2d9

URL: https://github.com/llvm/llvm-project/commit/94643a45b4c549b27407803277ec88b78315e2d9
DIFF: https://github.com/llvm/llvm-project/commit/94643a45b4c549b27407803277ec88b78315e2d9.diff

LOG: [AArch64] Add armv9.6 features to AArch64AsmParser (#112722)

New features need to be added to ExtensionMap for .arch and
.arch_extension to work.

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
index df69c20b1359fc..a5165d45893f3e 100644
--- a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -3736,6 +3736,17 @@ static const struct Extension {
     {"sme-fa64", {AArch64::FeatureSMEFA64}},
     {"cpa", {AArch64::FeatureCPA}},
     {"tlbiw", {AArch64::FeatureTLBIW}},
+    {"cmpbr", {AArch64::FeatureCMPBR}},
+    {"f8f32mm", {AArch64::FeatureF8F32MM}},
+    {"f8f16mm", {AArch64::FeatureF8F16MM}},
+    {"fprcvt", {AArch64::FeatureFPRCVT}},
+    {"lsfe", {AArch64::FeatureLSFE}},
+    {"sme2p2", {AArch64::FeatureSME2p2}},
+    {"ssve-aes", {AArch64::FeatureSSVE_AES}},
+    {"sve2p2", {AArch64::FeatureSVE2p2}},
+    {"sve-aes2", {AArch64::FeatureSVEAES2}},
+    {"sve-bfscale", {AArch64::FeatureSVEBFSCALE}},
+    {"sve-f16f32mm", {AArch64::FeatureSVE_F16F32MM}},
 };
 
 static void setRequiredFeatureString(FeatureBitset FBS, std::string &Str) {


        


More information about the llvm-commits mailing list