<div dir="ltr">(This time with subject, sorry)<br><div><div><div><br><div class="gmail_quote"><div dir="ltr">Missatge de Roger Ferrer Ibáñez <<a href="mailto:rofirrim@gmail.com">rofirrim@gmail.com</a>> del dia dt., 28 d’ag. 2018 a les 9:07:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Roger Ferrer Ibáñez<br></div></div></div></div></div>