[PATCH] D100427: [RISCV] Cleanup instruction formats used for B extension ternary operations.
Jim Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 13 19:21:52 PDT 2021
Jim added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrFormats.td:257
+class RVInstR4Frm<bits<2> funct2, RISCVOpcode opcode, dag outs, dag ins,
+ string opcodestr, string argstr>
: RVInst<outs, ins, opcodestr, argstr, [], InstFormatR4> {
----------------
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoD.td:36
+ (ins FPR64:$rs1, FPR64:$rs2, FPR64:$rs3, frmarg:$funct3),
+ opcodestr, "$rd, $rs1, $rs2, $rs3, $funct3">;
----------------
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoF.td:54
+ (ins FPR32:$rs1, FPR32:$rs2, FPR32:$rs3, frmarg:$funct3),
+ opcodestr, "$rd, $rs1, $rs2, $rs3, $funct3">;
----------------
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td:38
+ (ins FPR16:$rs1, FPR16:$rs2, FPR16:$rs3, frmarg:$funct3),
+ opcodestr, "$rd, $rs1, $rs2, $rs3, $funct3">;
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100427/new/
https://reviews.llvm.org/D100427
More information about the llvm-commits
mailing list