[PATCH] D98136: [RISCV][RFC] Initially support the K-extension instructions on the LLVM MC layer
Liao Chunyu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 9 01:14:26 PST 2021
liaolucy added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZk.td:82
+let Predicates = [HasStdExtZbkb] in {
+def ROR_K : ALU_rr<0b0110000, 0b101, "ror">,
+ Sched<[WriteRotateReg, ReadRotateReg, ReadRotateReg]>;
----------------
ROR_K instruction is the same as the B-ext.
./RISCVInstrInfoZb.td: def ROR : ALU_rr<0b0110000, 0b101, "ror">,
Do we need to redefine this instruction? Does anyone have any Suggestions?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98136/new/
https://reviews.llvm.org/D98136
More information about the llvm-commits
mailing list