[clang] [llvm] [Clang][RISCV] Add Zvabd intrinsics (PR #180929)

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 08:00:38 PST 2026


================
@@ -1907,6 +1907,18 @@ let TargetPrefix = "riscv" in {
   def int_riscv_vsm3me   : RISCVBinaryAAXUnMasked;
 } // TargetPrefix = "riscv"
 
+//===----------------------------------------------------------------------===//
+// Zvabd - Vector Absolute Difference
+//===----------------------------------------------------------------------===//
+let TargetPrefix = "riscv" in {
+
+  defm vabs      : RISCVUnaryAA;
+  defm vabd      : RISCVBinaryAAX;
----------------
4vtomat wrote:

There's `RISCVBinaryAAAUnMasked` but I didn't see masked version of it lol

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


More information about the cfe-commits mailing list