[clang] [llvm] [AArch64] Introduce new armv9.6 features (PR #111677)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 04:07:21 PDT 2024


================
@@ -1791,22 +1822,52 @@ AArch64ExtensionDependenciesBaseArchTestParams
          {"sve2-bitperm", "nosve2"},
          {},
          {"sve2", "sve2-bitperm"}},
-        {AArch64::ARMV8A, {"nosve2", "sve2-aes"}, {"sve2", "sve2-aes"}, {}},
-        {AArch64::ARMV8A, {"sve2-aes", "nosve2"}, {}, {"sve2", "sve2-aes"}},
         {AArch64::ARMV8A, {"nosve2", "sve2-sha3"}, {"sve2", "sve2-sha3"}, {}},
         {AArch64::ARMV8A, {"sve2-sha3", "nosve2"}, {}, {"sve2", "sve2-sha3"}},
         {AArch64::ARMV8A, {"nosve2", "sve2-sm4"}, {"sve2", "sve2-sm4"}, {}},
         {AArch64::ARMV8A, {"sve2-sm4", "nosve2"}, {}, {"sve2", "sve2-sm4"}},
 
-        // sve-b16b16 -> {sme-b16b16}
+        // sve-b16b16 -> {sme-b16b16, sve-bfscale}
         {AArch64::ARMV8A,
          {"nosve-b16b16", "sme-b16b16"},
          {"sve-b16b16", "sme-b16b16"},
          {}},
-        {AArch64::ARMV8A,
+        {AArch64::ARMV9_6A,
          {"sme-b16b16", "nosve-b16b16"},
          {},
          {"sve-b16b16", "sme-b16b16"}},
+        {AArch64::ARMV9_6A,
+         {"nosve-b16b16", "sve-bfscale"},
+         {"sve-b16b16", "sve-bfscale"},
+         {}},
+        {AArch64::ARMV9_6A,
+         {"sve-bfscale", "nosve-b16b16"},
+         {},
+         {"sve-b16b16", "sve-bfscale"}},
+
+        // sve2p1 -> {sve2p2}
+        {AArch64::ARMV9_6A, {"nosve2p1", "sve2p2"}, {"sve2p1", "sve2p2"}, {}},
+        {AArch64::ARMV9_6A, {"sve2p2", "nosve2p1"}, {}, {"sve2p1", "sve2p2"}},
+
+        // sve2p1 -> sve-f16f32mm
----------------
SpencerAbson wrote:

nit: could we merge the above two comments into `// sve2p1 -> {sve2p2, sve-f16f32mm}`?

https://github.com/llvm/llvm-project/pull/111677


More information about the llvm-commits mailing list