[llvm] [RISCV][llvm-exegesis] Add missing operand frm for FCVT_D_W (PR #149989)
Jim Lin via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 22 22:12:12 PDT 2025
================
@@ -651,8 +651,10 @@ static std::vector<MCInst> loadFP64RegBits32(const MCSubtargetInfo &STI,
}
std::vector<MCInst> Instrs = loadIntReg(STI, ScratchIntReg, Bits);
- Instrs.push_back(
- MCInstBuilder(RISCV::FCVT_D_W).addReg(Reg).addReg(ScratchIntReg));
+ Instrs.push_back(MCInstBuilder(RISCV::FCVT_D_W)
+ .addReg(Reg)
+ .addReg(ScratchIntReg)
+ .addImm(RISCVFPRndMode::RoundingMode::RNE));
----------------
tclin914 wrote:
Done. Thanks.
https://github.com/llvm/llvm-project/pull/149989
More information about the llvm-commits
mailing list