[PATCH] D94579: [RISCV] add the MC layer support of P extension

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 02:55:48 PST 2021


Jim added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoP.td:115
+def ADD16    : ALU_P_rr<0b0100000, 0b000, "add16">;
+def ADD64    : ALU_P_rr<0b1100000, 0b001, "add64">;
+def AVE      : ALU_P_rr<0b1110000, 0b000, "ave">;
----------------
In RV32, ADD64's input operand is even/odd pair of registers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94579/new/

https://reviews.llvm.org/D94579



More information about the llvm-commits mailing list