[clang] [llvm] [RISCV][MC] Add support of Zvzip extension (PR #185614)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 19:38:47 PDT 2026


================
@@ -883,6 +883,14 @@ def HasStdExtZvdot4a8i : Predicate<"Subtarget->hasStdExtZvdot4a8i()">,
                          AssemblerPredicate<(all_of FeatureStdExtZvdot4a8i),
                          "'Zvdot4a8i' (Vector 4-element Dot Product of packed 8-bit Integers)">;
 
+// Vector Reordering Structured Data
+def FeatureStdExtZvzip
+    : RISCVExperimentalExtension<0, 1, "Vector Reordering Structured Data",
+                                 [FeatureStdExtZve32x]>;
+def HasStdExtZvzip : Predicate<"Subtarget->hasStdExtZvzip()">,
+                     AssemblerPredicate<(all_of FeatureStdExtZvzip),
+                     "'Zvzip' (Vector Reordering Structured Data)">;
----------------
wangpc-pp wrote:

I hesitated to indent here at first but I found `Zvdot4a8i` doesn't indent as well.

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


More information about the llvm-commits mailing list