[clang] [llvm] [RISCV] Support version 0.9 of Zvabd (PR #218576)

Bohan Lei via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 22:03:57 PDT 2026


================
@@ -15,49 +15,51 @@
 // Instruction Definitions
 //===----------------------------------------------------------------------===//
 let Predicates = [HasStdExtZvabd], ElementsDependOn = EltDepsNone in {
-  def VABS_V : VALUVs2<0b010010, 0b10000, OPMVV, "vabs.v">;
+  def VABD_VV  : VALUVV<0b010101, OPMVV, "vabd.vv">;
----------------
garthlei wrote:

The current `VALU_MV_V_X` attaches scheduling classes like `WriteVIWALUV`. Should we define another multiclass, or keep using separate definitions for VV and VX?

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


More information about the llvm-commits mailing list