[clang] [llvm] [Clang][RISCV] Add Zvabd intrinsics (PR #180929)
Luke Lau via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 06:03:34 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;
----------------
lukel97 wrote:
Does RISCVBinaryAAX allow scalar vs1? Do we need a RISCVBinaryAA? I'm not sure if there's existing binary intrinsics with only .vv operands.
https://github.com/llvm/llvm-project/pull/180929
More information about the cfe-commits
mailing list