<div dir="ltr">Dear Alex, all,<br><br>I was looking for fcvt.d.{w,l}{,u} in RISCVInstrInfoD and I'm not sure to<br>understand the current definitions:<br><br>  138     def FCVT_D_W : FPUnaryOp_r<0b1101001, 0b000, FPR64, GPR, "fcvt.d.w"> {<br>  139       let rs2 = 0b00000;<br>  140     }<br>  141     <br>  142     def FCVT_D_WU : FPUnaryOp_r<0b1101001, 0b000, FPR64, GPR, "fcvt.d.wu"> {<br>  143       let rs2 = 0b00001;<br>  144     }<br><br>  162     def FCVT_D_L : FPUnaryOp_r_frm<0b1101001, FPR64, GPR, "fcvt.d.l"> {<br>  163       let rs2 = 0b00010;<br>  164     }<br>  165     def          : FPUnaryOpDynFrmAlias<FCVT_D_L, "fcvt.d.l", FPR64, GPR>;<br>  166     <br>  167     def FCVT_D_LU : FPUnaryOp_r_frm<0b1101001, FPR64, GPR, "<a href="http://fcvt.d.lu">fcvt.d.lu</a>"> {<br>  168       let rs2 = 0b00011;<br>  169     }<br><br><br>I would expect FCVT_D_W and FCVT_D_WU to be FPUnaryOp_r_frm instead of<br>FPUnaryOp_r. Currently they seem to hard code the rounding mode to 0b000.<br><br>Is my understanding correct or I'm missing something?<br><br>Thank you very much,<br>Roger<br></div>