[PATCH] D117468: [RISCV] Add intrinsic for Zbt extension

Chenbing.Zheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 18 01:34:55 PST 2022


Chenbing.Zheng marked 2 inline comments as done.
Chenbing.Zheng added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZb.td:907
           (FSR GPR:$rs1, GPR:$rs2, GPR:$rs3)>;
+def : Pat<(riscv_fsr GPR:$rs3, GPR:$rs1, uimmlog2xlen:$shamt),
+          (FSRI GPR:$rs1, GPR:$rs3, uimmlog2xlen:$shamt)>;
----------------
craig.topper wrote:
> Need to also handle fsl with a constant argument.
Emm.... but there is no fsli in zbt. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117468



More information about the cfe-commits mailing list